Using TortoiseHG and CodeCompare (free version) so I had to mess with the example settings for Mercurial as they where for a 3 way merge.
So I have my merge settings as ....
Code: Select all
[merge-tools]
codemerge.executable=C:\Program Files\Devart\CodeCompare\CodeMerge.exe
codemerge.args=/SC=Hg /environment=standalone /TWOWAY /TF=$other /MF=$local /RF=$output /TT="Theirs" /MT="Mine" /RT="Merged"
codemerge.gui=True
codemerge.checkconflicts=True
This works so that I get a two way merge of 'Theirs' and 'Merged' that TortoiseHg accepts the merged file from. The only issue I have is that it leaves the mine file (for example sample.cs.orig) in the project folder afterwards. I have to manually delete the files or it keeps appearing in tortoisehg to add it to the repo.
Is there a way to remove the file after the merge?
THANKS