CodeMerge with mercurial in visual studio does not execute (using HgSccPackage)

Discussion of open issues, suggestions and bugs regarding file and folder merge tool – Code Compare
Post Reply
diego.martinez
Posts: 3
Joined: Tue 24 Jun 2014 08:09

CodeMerge with mercurial in visual studio does not execute (using HgSccPackage)

Post by diego.martinez » Thu 06 Nov 2014 16:21

Hi!

Im using visual studio and mercurial using HgSccPackage.
The problem is that when there is a unresolved conflict, the CodeMerge does not pop up, and the merguing goes unresolved.

There is the mercurial.ini

Code: Select all

[ui]
username=diego martinez <******@*****.es>
ignore=C:\Users\diego\Documents\hgignore_global.txt
merge=codecompare_merge

[extensions]
eol=
extdiff=

[merge-tools]
codecompare_merge.regkey=SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\CodeCompare_is1
codecompare_merge.regname=InstallLocation
codecompare_merge.regappend=CodeMerge.exe
codecompare_merge.args=/SC=Hg /TF=$other /MF=$local /RF=$output /BF=$base /TT="Other: $other" /MT="Local: $local" /RT="Output: $output" /BT="Base: $base"
codecompare_merge.binary=False
codecompare_merge.gui=True
codecompare_merge.checkconflicts=True
codecompare_merge.premerge=Keep
 
 
[extdiff]
cmd.codecompare=C:\Program Files\Devart\Code Compare\CodeCompare.exe
opts.codecompare=/SC=Hg /W /title1="$plabel1" /title2="$clabel" $parent $child
 
[merge-patterns]
*.*=codecompare_merge
 
[http_proxy]
host=
no=
user=
passwd=

but when I pull, the logs shows:

Code: Select all

[Pull started]

pulling from http://localhost:8000/
[Error: warning: conflicts during merge.]
searching for changes
[Error: merging JackPot/JackPotViewer/Application/FrameRender.cpp incomplete! (edit conflicts, then use 'hg resolve --mark')]
all local heads known remotely
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files
resolving manifests
calling hook preupdate.eol: <function preupdate at 0x023DA4F0>
couldn't find merge tool codecompare_merge
couldn't find merge tool codecompare_merge
couldn't find merge tool ecmerge
couldn't find merge tool filemerge
couldn't find merge tool gpyfm
couldn't find merge tool kdiff3
couldn't find merge tool meld
couldn't find merge tool bcompare
couldn't find merge tool UltraCompare
couldn't find merge tool araxis
couldn't find merge tool beyondcompare3
couldn't find merge tool diffuse
couldn't find merge tool diffmerge
couldn't find merge tool p4merge
couldn't find merge tool tkdiff
couldn't find merge tool tortoisemerge
couldn't find merge tool xxdiff
couldn't find merge tool gvimdiff
couldn't find merge tool vimdiff
couldn't find merge tool winmerge
couldn't find merge tool merge
couldn't find merge tool hgmerge
merging JackPot/JackPotViewer/Application/FrameRender.cpp
0 files updated, 0 files merged, 0 files removed, 1 files unresolved
use 'hg resolve' to retry unresolved file merges

[Operation completed. Exit code: 1]
CodeMerge is not executed, and I don't know why. Is my config missing something?

PD: just if you are wondering, the CodeMerge IS in the directory "C:\Program Files\Devart\Code Compare\" as pointed by : SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\CodeCompare_is1

Post Reply