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

Re: svn switch --relocate arguments

From: mark benedetto king <mbk_at_lowlatency.com>
Date: 2003-06-17 21:56:03 CEST

On Sun, Jun 15, 2003 at 09:30:58PM -0400, Garrett Rooney wrote:
> is there a reason we require two arguments to 'svn switch --relocate'?
>
> it seems like the 'from' url would just be the url entry in the target
> directory if it isn't specified on the command line...
>
> is there something i'm missing here?
>

Well, the code is permissive enough to allow you to do something
sneaky like

svn switch --relocate http svn

Or, let's say at work you access the repo as "http://svn.my.com/repos/",
but from home as "http://firewall.my.com/repos", you could do:

svn switch --relocate http://svn http://firewall

This may be a bit too permissive, though; perhaps we should solve
issue 960 (separate canonical repository URL from repos path in wc)
first, then supplant the two-argument version of relocate with a
single-argument one.

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 17 22:22:29 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.