Page 1 of 1

Setup for Mercurial VCS

Posted: Tue 05 Nov 2013 16:14
by jitsua
Hi,

I've followed the instructions at http://www.devart.com/codecompare/integ ... urial.html
However when I issue a compare action via command line:
hg codecompare
in my repo, it loads the changes (directory compare) correctly, but I am unable to double click the file to perform the compare. I get file not found error.

Anyone figured a fix?

Thanks...

Re: Setup for Mercurial VCS

Posted: Wed 06 Nov 2013 17:26
by AlexeyN
Try to add a /WAIT (/W) parameter, so that the Code Compare argument string is similar to:

Code: Select all

opts.codecompare=/SC=Hg /W /title1="$plabel1" /title2="$clabel" $parent $child
It happens because Mercurial deletes temporary files, when the process terminates. With a /W argument Code Compare will prevent closing the "get files" process, so Mercurial will wait and not delete temporary files.

Please tell whether the solution is suitable for you.

Re: Setup for Mercurial VCS

Posted: Fri 08 Nov 2013 20:29
by jitsua
Solved - thanks you! :D