[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: Daniel Rall <dlr_at_finemaltcoding.com>
Date: 2007-07-28 00:18:48 CEST

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 28 00:11:02 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.