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

Recovering from a relocated repository

From: Milo Hyson <milo_at_cyberlifelabs.com>
Date: 2002-12-27 10:01:03 CET

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
Received on Fri Dec 27 10:01:52 2002

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