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

Re: Changing working copy repository URL

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-09-11 11:34:55 CEST

On Thu, Sep 11, 2003 at 02:02:32PM +0500, Alex Besogonov wrote:
> Good <time-of-day>, Daniel.
> DS> Is it possible to update the repository URL in a working copy? I
> DS> just renamed path to one of my repositories and can find no way to
> DS> update the working copy to reflect this. I thought 'svn switch'
> DS> would work, but it seems it's only for changing URLs within a
> DS> repository. Do I have to check out a new working copy?

> You can just change URL in .svn/entries files using your favorite
> tool.

That's error prone.

Use "svn switch --relocate"


svn switch --relocate file:///original/path/to/repos file:///new/path

Michael Wood <mwood@its.uct.ac.za>
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 11 11:36:03 2003

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.