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

Re: Why filename was trimed for diff viewer ?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 9 Feb 2012 16:36:40 +0100

On Thu, Feb 9, 2012 at 15:43, Xu Hong <icehong_at_gmail.com> wrote:
> Hi, tsvn developers
>       When I use  TortoiseSVN 1.7.4 on Windows 7, I found that the
> tempfile name pass to diff viewer was trimed and only 5 chars of file
> name is left.
> for example,  when I show changed for a file named
> "longfilename_test.txt",  and set diff viewer cmd to "cmd /K echo
> %base %mine",  I got such outputs:
> "C:\Users\Admin\AppData\Local\Temp\longf-rev6.svn000.tmp.txt"
> "C:\Users\Admin\AppData\Local\Temp\longf-rev7.svn000.tmp.txt",
>
> I realy need the full filename to pass to another app,  any one can
> hellp me ?   Many thanks .

The output you get:
"C:\Users\Admin\AppData\Local\Temp\longf-rev6.svn000.tmp.txt"
IS the full path and filename of that file.
If you need something better to use as window titles, use the %bname
and %yname parameters.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2920138
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-02-09 16:37:05 CET

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

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