mercurial - tortoisemerge with Hg reports all lines as changed -


i'd use tortoisemerge mercurial resolve conflicts, reporting every line in theirs , mine added though not comparing properly

here mercurial.ini:

[ui] merge = tortoisemerge  [merge-tools] tortoisemerge.executable=c:\program files\tortoisesvn\bin\tortoisemerge.exe tortoisemerge.args=/mine:$local /theirs:$other /base:$base -o /merged:$output 

i'm using hg 1.7.5

what's going on?

update: when using kdiff or beyondcompare, base empty.

thanks

your setup appears correct.

this symptomatic of having no copy of file in base revision, in case mercurial acts if file present empty.

there couple ways of figuring out what's going on here. if there no copies or renames involved, should able do:

$ hg log -r "ancestor(p1(), p2())" 

..to determine ancestor of merge, then:

$ hg manifest -r <rev> | grep <your file> 

..to determine if file in fact present.

alternately, can run 'hg merge --debug' or 'hg update --debug' see changeset , file it's choosing merge (including rename/copy details).

if find file is present in common ancestor mercurial chooses, should report bug (including debug output) at:

https://www.mercurial-scm.org/wiki/bugtracker


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -