[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-07-28 08:41:46 CEST

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.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 28 08:40:36 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.