[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 18:59:57 CET

Hi Greg,

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 would like to suggest to change svn_client_checkout to use the
revision parameter as the peg_revision parameter to
svn_client__checkout_internal. That would improve the compability.
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:01:42 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.