Home > Switching SVN Locations

Switching SVN Locations

February 21st, 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.


,

Comments are closed.