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
--
___
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=3090549
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-10-28 19:41:44 CET