Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mercurial: No editor appears when merge conflicts are detected

Tags:

mercurial

I wonder if anyone here has any experience with mercurial running on Ubuntu? I've been playing with it all morning and love everything I've seen so far.

The one problem I though is when I do a merge and conflicts are detected, it doesn't automatically bring the file up in the command line editor to allow me to resolve the conflicts. It just tells me there's a conflict, then it's up to me to open the editor and resolve it.

But this is strange as the docs show that the editor is automatically launched when there is a merge conflict. I know it's not a problem with the editor (nano) in general as it's works when I do a commit and have to add a comment.

Any ideas?

Chris

p.s I already tried the mercurial IRC channel, but silence....

like image 740
ChrisInCambo Avatar asked Jan 26 '26 02:01

ChrisInCambo


1 Answers

You probably need to define your merge tool in ~/.hgrc:

[ui]
merge = vimdiff
like image 57
too much php Avatar answered Jan 28 '26 06:01

too much php



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!