[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: Fri, 29 Aug 2008 19:02:33 +0300

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.

-- 
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-29 18:02:46 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.