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

svn_client_diff_peg4() returns inverse diff

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-07-27 17:54:56 CEST

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.

I noticed this when testing the "compare with working copy" feature in
the TSVN log dialog, where a patchfile is created from the selected
revision to the working copy, and that patchfile is then 'applied' to
the working copy to get the files in the selected revision (that's
faster than to fetch all the files individually in full).

Stefan

-- 
        ___
   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 Fri Jul 27 17:53:49 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.