
Subversion url change
Subversion url changeWhat if my repository has changed its url ?
Forget svn switch it will only work if the domain name has changed (and yes especially if you used --relocate)
You can checkout again. Yes, but what if you changed some of the files and didnt want to commit them ? And you dont want to check out again 350 MB of data ?
Special attention for lucas.
-
Will said:
Wednesday, October 21, 2009 at 19:33
Thanks :) That really helped.
-
Jorge Pereira said:
Friday, January 22, 2010 at 15:20
Thanks! But the other way and fast is. find /your/path -name entries -type f -exec sed 's@https://svn.oldserver.com@https://svn.newserver.com@g' -i {} \;
-
Archange said:
Friday, January 22, 2010 at 16:20
You're right. It could be actually easier to use since escaping the slashes in my method is quite painful and not error-prone. With sed (but you need sed) at least it is clearer. I'll probably send an update to my team, we are actually moving repositories around. Thx !