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

Re: Change of functionality in svn_client_checkout call

From: Patrick Mayweg <mayweg_at_qint.de>
Date: 2005-01-06 19:05:03 CET

Hi Ben,

Ben Collins-Sussman wrote:

>
> On Jan 6, 2005, at 11:48 AM, Greg Hudson wrote:
>
>> On Thu, 2005-01-06 at 12:39, Patrick Mayweg wrote:
>>
>>>> So, this is a desired change in that it reflects the new behavior of
>>>> "svn co -r2 <repos-url>/A/D". Of course, since svn_client_checkout()
>>>> has no peg-rev parameter, it loses the functionality corresponding to
>>>> the new "svn co <repos-url>/A/D@2".
>>>
>>
>> (I should have written 1 where I wrote 2 here, sorry.)
>>
>>> What I do is equivalent to svn co -r1 <repos-url>/A/D where /A/D was
>>> deleted in revision 2. With svn 1.1.* you can checkout this path. With
>>> the current trunk you cannot check that out, because
>>> svn_client_checkout
>>> looks for the /A/D in the HEAD revision. I think svn 1.1.* looked for
>>> /A/D in revision 1.
>>
>>
>> I understand. On trunk, we have expanded the new peg-rev support to
>> cover all of the commands, whereas in 1.1 we only introduced it for a
>> subset of them, such as diff.
>>
>
> I swear I'm going to document the peg-rev stuff in the book this
> weekend! It's one thing to subtley change behaviors; it's dangerous
> to do it with no documentation.

That would be very helpfull. I see I have to add the peg-rev stuff to
almost all the methods of the javahl binding. I would like to do that soon.
Patrick

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jan 6 19:06:50 2005

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.