WG: call Tsvn's diff tool from a custom diff script?

13 views
Skip to first unread message

Niemann, Hartmut

unread,
May 24, 2018, 10:33:58 AM5/24/18
to TortoiseSVN on behalf of vowner

Hello!

 

I created a custom differ which converts some binary file to text and then runs tortoisemerge.exe on it. Works well.

 

Now the request came from a colleague who configured a different tool as his standard diff tool to use that for showing the diff.

 

Is it possible to tell tortoise subversion to run whatever diff tool (internal or external) is configured on my text files?

 

 

Mit freundlichen Grüßen
Dr. Hartmut Niemann

Siemens AG
Mobility Division
Rolling Stock
Standardization, Remote Control, Display
MO RS LM EN CCI SRD
Werner-von-Siemens-Str. 67
91052 Erlangen, Deutschland
Mobil: +49 173 5342327
mailto:hartmut...@siemens.com
www.siemens.com/ingenuityforlife

Stefan

unread,
May 24, 2018, 2:42:04 PM5/24/18
to TortoiseSVN
Since it's your script that's calling TortoiseMerge, can't you just call the other users diff tool instead?
Or if you want your script to use the diff tool configured in TSVN, you could read the registry settings:
HKEY_CURRENT_USER\Software\TortoiseSVN\DiffTools

Niemann, Hartmut

unread,
May 25, 2018, 5:04:53 AM5/25/18
to TortoiseSVN on behalf of Stefan

Hi Stefan!

 

Thank you.

This is probably what I will do: teach the colleague how to write his own diff script with his favourite text differ and how to register that.

 

Mit freundlichen Grüßen
Dr. Hartmut Niemann


Reply all
Reply to author
Forward
0 new messages