Switching SVN Locations

Posted by hardwarehank, Wed Feb 21 01:38:18 UTC 2007

I moved some crap around in my repository the other day, and I felt the pain when I tried to update. Thankfully, the svn people have thought this thru already.


svn sw https://modzer0.cs.uaf.edu/repos/hank/code/rails/stockmaster .

At first this broke, so I had to do a temporary svn cp to resolve some missing crap. After that, it moved right over to the new location and I could update again.

If I had changed servers and not paths, I could have done this:


svn sw --relocate https://modzer0.cs.uaf.edu/repos/hank/code/rails/stockmaster \
https://modher0.cs.uaf.edu/repos/hank/code/rails/stockmaster .

All documented here.

Tags:

Comments

Have your say

A name is required. You may use Markdown in your comments.