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

Re: [PATCH] Make vanilla switch capable of changing the repository root

From: Vlad Georgescu <vgeorgescu_at_gmail.com>
Date: Thu, 28 Aug 2008 09:58:54 +0300

Karl Fogel wrote:
> Vlad Georgescu <vgeorgescu_at_gmail.com> writes:
>> I was thinking of introducing a new subcommand ("svn relocate") that does the
>> same thing as switch --relocate does now.
>>
>> A switch that only rewrites URL's without updating wouldn't be correct
>> if there are changes between the source and target paths, would it?
>> You'd end up with an out of sync working copy.
>
> Well, your last paragraph describes 'relocate', if you're only talking
> about the repository prefix portion of the URL...

I guess my point was, svn switch --relocate is wrong because --relocate is not
(and cannot be) a flag for svn_client_switch, instead it does a completely
different thing, takes different arguments, etc. So, it seems sane to move it
to a different subcommand. svn sw --relocate would still work, for backward
compatibility reasons, but then we can pretend it never existed. This change is
orthogonal to whether my patch is applied or not, although, like you said,
applying the patch while doing nothing about --relocate would only add to the
confusion.

-- 
Vlad
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-08-28 08:59:10 CEST

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.