diff --git a/mercurial/filemerge.py b/mercurial/filemerge.py --- a/mercurial/filemerge.py +++ b/mercurial/filemerge.py @@ -217,7 +217,7 @@ def _imerge(repo, mynode, orig, fcd, fco ui = repo.ui - r = simplemerge.simplemerge(ui, a, b, c, label=labels) + r = simplemerge.simplemerge(ui, a, b, c, label=labels, no_minimal=True) return True, r return False, 0 diff --git a/tests/test-conflict.t b/tests/test-conflict.t --- a/tests/test-conflict.t +++ b/tests/test-conflict.t @@ -47,13 +47,16 @@ $ cat a Small Mathematical Series. + <<<<<<< local: 618808747361 - test: branch2 1 2 3 - <<<<<<< local: 618808747361 - test: branch2 6 8 ======= + 1 + 2 + 3 4 5 >>>>>>> other: c0c68e4fe667 - test: branch1 @@ -78,13 +81,16 @@ Verify custom conflict markers $ cat a Small Mathematical Series. + <<<<<<< local: test 2 1 2 3 - <<<<<<< local: test 2 6 8 ======= + 1 + 2 + 3 4 5 >>>>>>> other: test 1 @@ -105,13 +111,16 @@ Verify line splitting of custom conflict $ cat a Small Mathematical Series. + <<<<<<< local: test 2 1 2 3 - <<<<<<< local: test 2 6 8 ======= + 1 + 2 + 3 4 5 >>>>>>> other: test 1 @@ -145,13 +154,16 @@ Verify line trimming of custom conflict $ cat a Small Mathematical Series. + <<<<<<< local: 123456789012345678901234567890123456789012345678901234567890\xe3\x81\x82... (esc) 1 2 3 - <<<<<<< local: 123456789012345678901234567890123456789012345678901234567890\xe3\x81\x82... (esc) 6 8 ======= + 1 + 2 + 3 4 5 >>>>>>> other: branch1 @@ -172,13 +184,16 @@ Verify basic conflict markers $ cat a Small Mathematical Series. + <<<<<<< local 1 2 3 - <<<<<<< local 6 8 ======= + 1 + 2 + 3 4 5 >>>>>>> other