[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: Fri, 29 Aug 2008 12:21:06 -0400

Vlad Georgescu wrote:
> On Fri, Aug 29, 2008 at 6:55 PM, C. Michael Pilato <cmpilato_at_collab.net> wrote:
>> Vlad Georgescu wrote:
>>> On Fri, Aug 29, 2008 at 6:08 PM, C. Michael Pilato <cmpilato_at_collab.net> wrote:
>>>> Vlad Georgescu wrote:
>>>>> There are valid uses of --relocate that switch wouldn't cover:
>>>>> relocating without updating, changing the scheme part of the URL, etc.
>>>> You've this a couple of times, but I don't understand the reasoning -- why
>>>> can you newly spiced up switch code change the hostname and the repository
>>>> root URL but *not* change the scheme part? Is it because do perform a real
>>>> switch you have to still be able to communicate with (or about) both the
>>>> current and new "location", and our RA layer doesn't let you span schemes
>>>> like that or something?
>>> Oh, it can, I was just pointing out that:
>>>
>>> svn sw --relocate http https
>> That works?! I would have expected an instant error: 'http' is not URL.
>
> Yep. --relocate lets you replace an arbitrary prefix of the repo URL.

Interesting. The usage message is ... uh ... severely lacking.

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

Received on 2008-08-29 18:21:19 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.