Thanks for replying .
Actually I pass the temp filename the custom tool and will use the
temp file , and I think it's no need to trim it when the filename is
more than MAX_PATH ?
Here is code link : http://code.google.com/p/tortoisesvn/issues/detail?id=207
2012/2/9 Stefan Küng <tortoisesvn_at_gmail.com>:
> 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].
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2920616
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-02-10 13:03:29 CET