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

Re: Calling external diff tools: %brev and %yrev switched if “mine” is the working copy

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 20 Jul 2015 22:08:38 +0200

On 20.07.2015 18:38, Niemann, Hartmut wrote:
> Hello!
>
> I have an issue with calling an external diff tool:
>
> %brev and %yrev seem to be switched if “mine” is the working copy:
> brev=”WC” and yrev is the version I compare to.
>
> Is this a bug?
>
> long version:
>
> I call a simple *.bat file that echoes all parameters
>
> ----8<----
>
> @echo base=%1 bname=%2 brev=%3
>
> @echo mine=%4 yname=%5 yrev=%6
>
> ----8<----
>
> with
>
> commandline.bat %base %bname %brev %mine
> %yname %yrev
>
> I compare two revisions
>
> base="C:\Users\e09nemh0\AppData\Local\Temp\Handbuch.pdf-rev33.svn001.tmp.pdf"
> bname="Handbuch.pdf Revision 33" brev="33"
>
> mine="C:\Users\e09nemh0\AppData\Local\Temp\Handbuch.pdf-rev34.svn003.tmp.pdf"
> yname="Handbuch.pdf Revision 34" yrev="34"
>
> This looks OK.
>
> I compare one version (from the log viewer) against the working copy:
>
> base="C:\Users\e09nemh0\AppData\Local\Temp\Handbuch.pdf-rev33.svn002.tmp.pdf"
> bname="Handbuch.pdf Revision 33" brev="WC"
>
> mine="C:\Sibas32\BETA\SG_DIFF\Handbuch.pdf" yname="Handbuch.pdf :
> Working Copy" yrev="33"
>
> base is a checked-out temporary file, bname matches, but yrev is the
> revision,
>
> while mine is the current file, yname matches, but brev is “WC”.
>
> (Windows 7/64, TortoiseSVN 1.8.11)

Yes, this seems to be reversed.
I'll take a closer look once sourceforge is fully operational again and
I can run a proper log and blame on the file in question.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3127948
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-07-20 22:09:02 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.