Setup for Mercurial VCS

Discussion of open issues, suggestions and bugs regarding file and folder merge tool – Code Compare
Post Reply
jitsua
Posts: 2
Joined: Tue 05 Nov 2013 16:08

Setup for Mercurial VCS

Post by jitsua » Tue 05 Nov 2013 16:14

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...

AlexeyN
Devart Team
Posts: 244
Joined: Wed 12 Sep 2012 12:09

Re: Setup for Mercurial VCS

Post by AlexeyN » Wed 06 Nov 2013 17:26

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.

jitsua
Posts: 2
Joined: Tue 05 Nov 2013 16:08

Re: Setup for Mercurial VCS

Post by jitsua » Fri 08 Nov 2013 20:29

Solved - thanks you! :D

Post Reply