How to set revision number to svn external

Sometimes when we branched out from trunk we have to remove svn externals. Other possible solution is set branched revision number to external. so it will always referring that particular revision even externals got updated.

Command to get svn externals
svn propget svn:externals -R

Then you will see out put like this
modules/application - store-web  https://svn.test.org/repos/test/store-web



so first you have to go to that folder
cd modules/application

then you have to set the revision number as follows. Let say we branched from revision 11111. then we have to set to that version

svn propset svn:externals 'store-web -r11111 https://svn.test.org/repos/test/store-web' . property 'svn:externals' set on '.'

Then commit to svn branch.

No comments:

Post a Comment

Empowering the Future of API Management: Unveiling the Journey of WSO2 API Platform for Kubernetes (APK) Project and the Anticipated Alpha Release

  Introduction In the ever-evolving realm of API management, our journey embarked on the APK project eight months ago, and now, with great a...