Visual Diff not working with external diff tool
TortoiseHg 6.2.2
I am attempting to use an external diff tool but find it is not being called from the Visual Diffs window
I have the following defined in .hgrc.
[diff-patterns]
**.foo = testtool
[merge-tools]
testtool.executable = c:\tmp\test.bat
testtool.diffargs = $child $parent
testtool.gui = False
testtool.priority = 1
File c:\tmp\test.bat contains
echo testtool called with %1 and %2 > c:\tmp\test.log
which should record the call to the external tool into test.log.
I also have a test repository in c:\tmp\hgtest
with two files a.foo and b.foo and a couple of revisions which are bookmarked as bm1
and bm2
.
Executing
thg -R "c:\tmp\hgtest" vdiff -r bm1 -r bm2
starts the Visual Diff window showing a.foo and b.foo and also shows in Select Tools that I can use my external testtool
for the comparison
However when I double-click on one of the filenames nothing happens and the external testtool is not invoked. No error appears.
By comparison if in the Select Tool widget I choose one of the internal tools then that tool will be opened. It just appears to be external tools which will not run.