Peter Davis <peter@pdavis.cx> wrote:
> 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.
I know that, but my phrasing was unclear.
I meant that switching to a subdir isn't intended in the normal use of switch,
and that this operation is better achieved by a couple of mv/rm. This last
approach has also the advantage to preserve local changes and revision levels.
The issue I see there is that switch could detect this case and
reject the operation, instead of corrupting the working copy. I feel
that fixing it completely may be a lot of effort for a little result.
---------------------------------------------------------------------
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:32:58 2002