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

Re: "svn copy -rHEAD" copies the wrong version.

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2003-10-07 18:34:07 CEST

Ben Collins-Sussman wrote:
> Julian Foad <julianfoad@btopenworld.com> writes:
>
>>>Or, if you want to take a harder road, 'svn cp -rX WC WC' could simply be
>>>converted (quietly, under the hood) to 'svn cp -rX URL WC'.
>>
>>This is what seems to be happening; just with a bug in it. Either
>>that or some unintended functionality is operating and should be
>>blocked.
>>
>>I don't mind whether "-r" is allowed with a local path. Anyone want
>>to choose?
>
> Well, heck, if '-r' is already working in the WC->WC case most of the
> time, why don't you investigate the bug? It sounds like we're almost
> there. Maybe it's really trivial to make -rHEAD work correctly.

It was a very trivial bug that prevented this particular case from working. Fixed "-rHEAD" in r7331. Now, "-rHEAD" and "-rN" work but "-r" with any of the local keywords (BASE, COMMITTED, PREV) do not work. But at least they fail with an error, rather than silently doing the wrong thing.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 7 18:33:31 2003

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.