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

RE: Quick question about "svn switch"

From: Martin Ayotte <martinay_at_videotron.ca>
Date: 2003-06-27 02:23:38 CEST

"--relocate" ? ... it work (probably I used it wrong the first time I've
tried)

Thanks a lot, Ben !

> -----Original Message-----
> From: sussman@collab.net [mailto:sussman@collab.net]
> Sent: Thursday, June 26, 2003 6:15 PM
> To: martinay@videotron.ca
> Cc: dev@subversion.tigris.org
> Subject: Re: Quick question about "svn switch"
>
>
> Martin Ayotte <martinay@videotron.ca> writes:
>
> > - If an repository URL is changed (or even better : it is
> moved on an other
> > server), the clients only need to use "svn switch" to make
> their working
> > copies switched to the new URL, right ?
>
> Nope, 'svn switch' tells the server to compare two trees. The two
> trees need to be in the *same* repository. There's no cross
> repository-communication (yet).
>
> > In my case, I've just change the path portion of the URL
> and is seems to
> > fail ... Did I missed something ?
>
> Yes. 'svn switch' requires that both URLs are accessible, so the
> server can compare them. By "both urls", I mean (1) the URL that your
> working copy currently reflects, and (2) the URL you want to switch
> to.
>
> What you want is 'svn switch --relocate'. That feature doesn't cause
> any trees to be compared; it just rewrites the URLs within your
> working copy.
>
> > Is the "switch" command only use for moving from branch to branch ?
>
> At the moment, yes. :-)
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 27 02:25:58 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.