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

Re: svn_client_diff_peg4() returns inverse diff

From: Kyle McKay <mackyle_at_tigris.org>
Date: 2007-07-28 19:00:20 CEST

On Jul 28, 2007, at 07:20, Stefan Küng <tortoisesvn@gmail.com> wrote:
> Daniel Rall wrote:
>> On Jul 27, 2007, at 8:54 AM, Stefan Küng wrote:
>>> Hi,
>>>
>>> Calling svn_client_diff_peg4() returns the same diff even with
>>> reversed revisions:
>>>
>>> svn_client_diff_peg4(.... r7(peg),
>>> r7(start),
>>> WC(end),....)
>>> and
>>> svn_client_diff_peg4(.... r7(peg),
>>> WC(start),
>>> r7(end),....)
>>> return the exact same diff (always r7:WC, never WC:r7).
>>>
>>> Unfortunately, I can't provide a script to reproduce this,
>>> because the CL client doesn't know WC or WORKING as a valid
>>> revision argument.
>>>
>>> This happens with the Subversion trunk r25805.
>> Stefan, can you provide an example with the command-line using
>> specific WORKING revisions? I tried the following (which
>> exercises svn_client_diff_peg4), but was unable to reproduce --
>> switching the START and END revisions did reverse the diff output.
>> svn di -r25820:25862 subversion/libsvn_client@25862
>
> As I already mentioned, it's not possible to give an example with
> the command line: it doesn't understand WC or WORKING as revision
> arguments.
> The problem only occurs if one of the revisions to diff is 'working
> copy', not a revision number.
>
> Stefan

FYI, issue 2683 <http://subversion.tigris.org/issues/show_bug.cgi?
id=2683> contains a patch to support WORKING revision arguments. It
currently has a target milestone of "---".
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 28 18:59:03 2007

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.