Switch SVN local copy to new server location

Aug 19 2010

When an SVN repository switches the server you need to update your working copy with new repository url.
First, you need to get the old repository url by typing ‘svn info’. You will get a listing saying ‘URL: http://oldserver/path/to/repo/trunk’.

svn info
URL: http://oldserver/path/to/repo/trunk

Copy that url and execute the following from the root folder of your local copy

cd /path/to/your/local/copy/
svn switch --relocate \
http://oldserver/path/to/repo/trunk \
http://newserver/path/to/repo/trunk \
. \

After that update your local copy and you’re ready to go

svn update
Tags: , , ,

Comments Off

Comments are closed at this time.

Performance Optimization WordPress Plugins by W3 EDGE