Stefan,
Glad to see that this problem is of interest to you. I hope that you could find
a compromise that you could pack up in a future release of TortoiseSVN. If you
don't, please inform the user that the mime-type recognition does not work from
the "show log" dialog.
For the moment I will exclusively use the extension as a way to launch specific
diff tools.
Justin
Le 28/10/2014 19:42, Stefan Küng a écrit :
> On 27.10.2014 16:27, Justin M. wrote:
>> Hello,
>>
>> I wanted to report a possibly buggy behaviour of TortoiseSVN about
>> the advanced diff settings.
>>
>> Here is the issue: When I define a program for a particular
>> extension, let's say .pdf, TortoiseSVN correctly opens the specific
>> program when I choose "Diff" or "Diff with previous version" from the
>> contextual menu of Windows. It also works as expected when the diff
>> is launched for the "Show log" window. On the contrary when I define
>> a program for a mime-type, let's say application/pdf, TortoiseSVN
>> still correctly opens the specific program when I choose "Diff" or
>> "Diff with previous version" BUT always opens TortoiseMerge when the
>> diff is launched for the "Show log" window. You understand that the
>> user parameters are probably ignored when a mime-type is defined (and
>> not a file extension) and when the diff is started from the log view.
>> Is this what TortoiseSVN is expected to do?
> The problem here is that the mime-type is only known by TSVN if it can
> read it from a working copy.
> The log dialog is a dialog that uses remote data, directly from the
> repository. So it does not know about the working copy.
> Reading the svn:mime-type property from the repository can take a few
> seconds, and that's why that is not done. However without that
> information, when doing the diff it doesn't even know the mime-type of
> the file and therefore the specified diff tool is not used.
>
> I will try and find a way to get the mime-type info remotely as well
> without slowing down the whole diff command too much.
>
> Stefan
>
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3090553
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-10-28 22:17:10 CET