[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Changing server IP in working copy

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-08-03 00:16:26 CEST

On Mon, 2004-08-02 at 17:07, François Beauregard wrote:
> Our server is available under a given name when we are working internally
> and under a different name when we are working from outside through the
> internet.
>
> For example, from work I would do :
> svn co svn+ssh://orion/repos
>
> Now from home I would like to be able to continue modifying the same working
> copy but now the url to the server is : svn+ssh://www.pyxis-tech.ca/repos
>
> Is there an easy way to do that?

'svn switch --relocate OLD_URL_PREFIX NEW_URL_PREFIX'

for example,
 
  svn switch --relocate http://oldhostname http://newhostname

The command rewrites the beginning of the URLs stored in your working
copy.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 3 00:18:21 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.