After having solved the problem of getting the editor to launch when there’s a merge conflict – Mercurial: No editor appears when merge conflicts are detected
I now have another problem, the editor now launches but opens the files in the following order:
hello.c hello.c~base.???? hello.c~other.????
But what I really want to see is the file that highlights the conflicts, which I expect should be the first one hello.c, but instead hello.c just shows the tip.
Any advice?
Regards,
Chris
I’m not sure what tool you’re using for merges, but it sounds like it’s doing a 3-way merge. The left pane is normally the common ancestor, the middle pane is the file you’re merging in, and the right pane is your changes to the file.
I really like kdiff3 (free and open source) for merges and would recommend it if the tool that you’re using isn’t working for you. It’s in the mercurial documentation as the example merger that they use in many places.