Reputation: 29925
Lets say I have a link to svn://another/repo/tags/1.0
and the author has updated the repo to svn://another/repo/tags/1.1
how would I change my svn:externals property to point to the new repo?
I'm looking for an svn switch
style, so that the new repo updates
over the top.
Would a better answer be to have a branch called "live_branch" or similar, and just update this to the latest version each time?
Thanks
> svn propget svn:externals .
1.0 svn://another/repo/tags/1.0
Upvotes: 3
Views: 1912
Reputation: 97447
The switch command will only change your working copy to use a different URL (trunk/branches/tags) than before...but will not automatically change the svn:externals information...
In your case that means you have to manually update the svn:externals value (change from tags/1.0 to tags/1.1) and test you software with the new state the library you are using)...after testing is finished you can checkin the new svn:externals value.
I would recommend to to something different that the tags value in your external as you mentioned as example.
I would suggest to use a thing:
lib svn://another/repos/tags/1.0
So the lib will not change after changing to another tag (e.g. 1.1) instead...
Upvotes: 6