PDA

View Full Version : Changing Subversion server in Xcode


BeyondCloister
2005.03.13, 07:14 AM
I had Subversion running on one of my iMacs. This computer was on the network as 10.20.30.4 wired and 10.20.30.3 wireless.

I moved the computer off the fixed network so now it is only accessible as 10.20.30.3.

The problem is that Xcode on my iBook was set up to use the Subversion server on 10.20.30.4 and I cannot find anyway to set it to use 10.20.30.3.

Any suggestions?

OneSadCookie
2005.03.13, 03:30 PM
there's an option to the subversion command-line tool that does precisely this. Read the subversion book online (http://svnbook.red-bean.com/ or something)

BeyondCloister
2005.03.13, 03:55 PM
I've now found how to change the server used. It was not so straight forward so I'll post the details here for future generations to find the answer when they search these forums:

cd to the directory containing the files
use svn info | grep URL to find the current Subversion URL being used
use svn switch --relocate oldServerURL newServerURL