Subversion server moved ? no problem

If you find yourself in a situation where a subversion server that you are using has moved (has a new IP) and your working copy still points to the old IP simply use the following command in the parent directory of your working copy

If you go to one directory higher than the parent directory (highest directory that contains a .svn dir)

svn switch –relocate http://old_ip_address/directory http://new_ip_address/directory directory

Note: That is a double dash relocate


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s