Use merge-patterns to select visual diff program
Created originally on Bitbucket by PhoneixS (Javier Alfonso Bellota de Frutos)
I have a proyect in wich images are tracked and in my system I have installed tortoiseidiff, a visual diff for images (wich come with tortoiseSVN). The problem is that I have set global configuration as bellow but visualdiff alwais launch the first merge tool specified in [merg-tools] section (in this case tortoiseidiff).
[merge-patterns]
**.jpg = tortoiseidiff
**.jpeg = tortoiseidiff
**.png = tortoiseidiff
** = kdiff3
[merge-tools]
# TortoiseIDiff for Windows
tortoiseidiff.executable=c:/archivos de programa/TortoiseHg/TortoiseIDiff.exe
tortoiseidiff.gui=True
tortoiseidiff.diffargs=/left:"$parent" /lefttitle:"$plabel1" /right:"$child" /righttitle:"$clabel" /showinfo
kdiff3.args=--auto -L1 base --L2 local --L3 other $base $local $other -o $output
kdiff3.regkey=Software\KDiff3
kdiff3.regappend=c:/archivos de programa/TortoiseHg/kdiff3.exe
kdiff3.fixeol=True
kdiff3.gui=True