I'm trying to configure a diff tool in TortoiseHg and Mercurial.
This is the configuratión I've done:
[merge-tools]
CmpIt.executable = E:\Program Files (x86)\Compare It!\wincmp3.exe
CmpIt.priority = 1
CmpIt.premerge = True
CmpIt.gui = True
CmpIt.args= -m $local $base $other
CmpIt.diffargs= -m $local $base
CmpIt.dirdiff= True
But when the tool start, it's looking for "$local" and "$base" files instead real file names.
I found on Task Manager that the command line is geting the names of the args instead their values:
E:\Program Files (x86)\Compare It!\wincmp3.exe -m $local $base
How can I force to pass the value of the args to the command line?
You miss some important points
CmpIt.args
is BIG NO-NO for nowhgrc.d\MergeTools.rc
(of any merge-tool part) for parameters, used in .diffargs, parred by TortoiseHG/Mercurial: $local
+ $base
are variables for merge, not for diff-m
at allFrom my POV, using bcompare.diffargs options as quick-start and CompareIT! Help for "translation", this will reasonably good first iteration (not tested!!!)
CmpIt.args= -m $local $base $other
CmpIt.diffargs= $parent /=$plabel1 $child /=$clabel