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

Re: repository split and subsequent working copy switch problems

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-03-24 16:28:11 CET

On Tue, 2004-03-23 at 23:38, Derek Scherger wrote:

> svn switch http://localhost/var/svn/foo

You can't use 'svn switch' at all here. You *have* to checkout two
brand new working copies, because you've created two brand new
repositories. The old repository is gone. There's no way to 'switch'
from repository A to repository B.

1. 'svn switch new URL' asks the repository to compare your current WC's
URL with newURL, and send the differences back in the form of an
update. But the original URL is *gone*. The repository is no more!
And beyond that, 'svn switch' can't compare URLs in different
repositories anyway.

2. 'svn switch --relocate' is only for those times when you're using the
same repository and same URL, but the "SVNROOT" of the repository
changed (i.e. you changed the value of SVNPath, or changed the hostname
or something.) This command doesn't contact the repository at all; it
just rewrites the URLs in your working copy. So this isn't applicable
to your situation either.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 24 16:29:04 2004

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