Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mercurial manual merge does not launch meld

Having read Completely manual Mercurial merge, I have such a .hgrc:

[ui]
merge = meld

[merge-tools]
meld.priority = 1
meld.premerge = False
meld.args = $local $other $base 

[merge-patterns]
** = meld

However, hg merge -r REV just works and I don't get what i'm missing...

I'd like to do a manual merge to drop some of the changes the other branch introduces. The other branch has a changeset affecting several files and I don't want to modify them all.

like image 967
Maxime R. Avatar asked Apr 11 '12 23:04

Maxime R.


1 Answers

I've got two guesses. Either your configuration settings aren't getting picked up or you don't have enough conflict for Mercurial to consider your merge in need of resolution.

You can check for the former with hg showconfig -- make sure you see your meld settings.

If they are showing up then maybe there isn't enough conflict between the two changesets you're merging. Even with premerge set to false there still needs to be something that requires merging. Are there actual changes in the same file in both changesets? Perhaps try hg merge --tool internal:fail and then check the hg resolve --list to see what's there.

like image 165
Ry4an Brase Avatar answered Sep 29 '22 19:09

Ry4an Brase