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

Re: svn switch when rebasing repository?

From: John Peacock <john.peacock_at_havurah-software.org>
Date: Fri, 29 Feb 2008 10:17:12 -0500

Torgeir Veimo wrote:
> I',m trying this from within the src2 directory, which contains the
> trunk and branches subdirectories, some of which has local changes.
>
> svn switch --relocate seems to be only for changing the actual hostname?

No, 'switch --relocate' actually functions by rewriting the locally
stored metadata as strings. This is precisely what you should use in
this case, since you changed the repo out from under the working copies.

IMPORTANT NOTE: if you filtered *any* revisions out when you did the
dump/reload, you will have to throw away these working copies, as they
will no longer be in sync with the repo; i.e. they will think you are at
revision 1234, but the repo will think it is at revision 1111, and you
will be unable to do anything. You can always retain your local changes
by running 'svn diff' (which doesn't contact the repo at all) and
squirrel those changes away to reapply after you recheckout the code.

HTH

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-29 16:18:09 CET

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.