You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Milo Hyson <mi...@cyberlifelabs.com> on 2002/12/27 09:01:03 UTC

Recovering from a relocated repository

Is there a simple command I can give svn to recover from a relocated 
repository? By relocated I mean that a sysadmin has changed the URL used 
to access it, but no modifications have been made to the contents.

Here's my method:

1) Checkout a fresh copy of the appropriate revision(s) to a new working 
area.
2) Copy the old working files over the new ones.
3) Delete old working area.

I'm not familiar with svn's internals, but it seems to me that the only 
issue is the cached copy of the URL in the .svn directory. Is there a 
command I can use to switch this to the new one without having to 
perform the above steps? I've checked the documentation and searched the 
lists, but didn't find anything.

Thanks in advance.

-- 
Milo Hyson
CyberLife Labs



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Recovering from a relocated repository

Posted by Vladimir Prus <gh...@cs.msu.su>.
Milo Hyson wrote:
> Is there a simple command I can give svn to recover from a relocated 
> repository? By relocated I mean that a sysadmin has changed the URL used 
> to access it, but no modifications have been made to the contents.
> 
> Here's my method:
> 
> 1) Checkout a fresh copy of the appropriate revision(s) to a new working 
> area.
> 2) Copy the old working files over the new ones.
> 3) Delete old working area.
> 
> I'm not familiar with svn's internals, but it seems to me that the only 
> issue is the cached copy of the URL in the .svn directory. Is there a 
> command I can use to switch this to the new one without having to 
> perform the above steps? I've checked the documentation and searched the 
> lists, but didn't find anything.

I guess that

     http://subversion.tigris.org/issues/show_bug.cgi?id=951

is what you're looking for. As you can see, it's not implemented yet....

- Volodya


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org