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

Re: Switch issue

From: Andreas J. Koenig <andreas.koenig_at_anima.de>
Date: 2002-11-22 11:54:09 CET

>>>>> On Fri, 22 Nov 2002 02:13:09 -0800, Peter Davis <peter@pdavis.cx> said:

> On Friday 22 November 2002 01:55, Rafael Garcia-Suarez wrote:
>> switch is intended to switch a wc dir between branches. Here you're
>> trying to replace a wc that contains /perl/ by a wc that contains
>> /perl/trunk/. But /perl/trunk is not a branch of /perl/. You can't
>> create a branch in a subdirectory of the copied directory.

> You are right about the intention, but it was my understanding that switch
> should be able to switch any two directories on the server. Of course I've
> never really used switch, but I remember discussions about this. Switch
> isn't restricted to switch directories that are copies of each other.

> In fact, if that were the case, then you'd be able to switch to a branch but
> wouldn't be able to switch back, because while the branch is a copy of the
> trunk, the trunk is not a copy of the branch.

That's my understanding too and in fact current svn gets that right.
The alternative approach that Rafael posted did fail later, but now
works as it should too, so apparently some serious switch bugs were
fixed recently.

-- 
andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 22 11:56:03 2002

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.