[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: C. Michael Pilato <cmpilato_at_collab.net>
Date: Wed, 27 Aug 2008 16:42:11 -0400

Vlad Georgescu wrote:
> C. Michael Pilato wrote:
>> Karl Fogel wrote:
> [...]
>>> I'm close to +1 on this, but would like others' thoughts...
>> I had the following gut reactions to this post, in short order:
>>
>> . o O ( Gack! Someone is disturbing the delicate balance of the
>> switch/relocated code!? )
>> . o O ( Yes, someone is. And what a *nice* disturbance it is... )
>>
>> What is lost by this change, though, is the ability to relocate without
>> updating (which is a very valid thing to wish to do).
>
> I'm not planning to remove --relocate, so you can still do that.
>
>> Would 'svn switch NEW-URL -rBASE' be a way to preserve that functionality?
>
> That should work as well.

I was expect, actually, that it doesn't. I'm guessing that 'svn switch
-rBASE' will turn BASE into a revision number based on the evaluation of the
revision at which the TARGET sits, and then do a whole-revision update to
that revision (whatever it may be). That's not quite the same operation as
an update-less URL tweak. And maybe the answer to that is, "Just use
--relocate."

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2008-08-27 22:42:25 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.