<< Back To All Blogs
Changing SVN Server URL Client-side using Relocate
Saturday, March 14th, 2009
I recently moved into a new place, and as many of we fellow nerds often know, that generally means time for some technology re-organization as well.
In my case I am speaking of wiping a server clean, putting on the new Server 2008, and re-deploying all of my previous server applications.
SVN (VisualSVN to be exact) was no exception to my chaos, and I also decided it was time to change to a secure connection for external SVN. My SVN repositories are quite large, and didn't want to have to re-checkout on all of my client computers.
I never knew this, after the millions of right-click commits I have done with TortoiseSVN you would think I'd noticed this by now, but there is a facility just for what I was trying to do.
It is known as switch, and the syntax (at the command-line) is:
svn switch --relocate previousurl newurl
For those TortoiseSVN users out there you can simply right-click on your checkout, select Relocate, and it will take you through the rest.
Worked like a champ for me in both cases, and saved me a ton of time!
Relocatin' Tom Out.
Creating A Solid Backup Plan
Setting up a real VPN with your every day consumer router and DD-WRT
Recursively removing SVN bindings with PowerShell
Firefox Upgrade Fail
Currently no comments.
Add A Comment
Email Address: (not public, used to send notifications on further comments)
Enter the text above, except for the 1st and last character: