Mercurial > hg
diff tests/test-merge-types.t @ 21519:25d5a9ecbb85
merge: add conflict marker formatter (BC)
Adds a conflict marker formatter that can produce custom conflict marker
descriptions. It can be set via ui.mergemarkertemplate. The old behavior
can be used still by setting ui.mergemarkers=basic.
The default format is similar to:
{node|short} {tag} {branch} {bookmarks} - {author}: "{desc|firstline}"
And renders as:
contextblahblah
<<<<<<< local: c7fdd7ce4652 - durham: "Fix broken stuff in my feature branch"
line from my changes
=======
line from the other changes
>>>>>>> other: a3e55d7f4d38 master - sid0: "This is a commit to master th...
morecontextblahblah
author | Durham Goode <durham@fb.com> |
---|---|
date | Thu, 08 May 2014 16:50:22 -0700 |
parents | cb15835456cb |
children | 9c35f3a8cac4 |
line wrap: on
line diff
--- a/tests/test-merge-types.t Tue Apr 22 12:20:10 2014 -0700 +++ b/tests/test-merge-types.t Thu May 08 16:50:22 2014 -0700 @@ -290,18 +290,18 @@ U h $ tellmeabout a a is a plain file with content: - <<<<<<< local + <<<<<<< local: 0139c5610547 - test: "2" 2 ======= 1 - >>>>>>> other + >>>>>>> other: 97e29675e796 - test: "1" $ tellmeabout b b is a plain file with content: - <<<<<<< local + <<<<<<< local: 0139c5610547 - test: "2" 2 ======= 1 - >>>>>>> other + >>>>>>> other: 97e29675e796 - test: "1" $ tellmeabout c c is a plain file with content: x @@ -345,18 +345,18 @@ [1] $ tellmeabout a a is a plain file with content: - <<<<<<< local + <<<<<<< local: 97e29675e796 - test: "1" 1 ======= 2 - >>>>>>> other + >>>>>>> other: 0139c5610547 - test: "2" $ tellmeabout b b is an executable file with content: - <<<<<<< local + <<<<<<< local: 97e29675e796 - test: "1" 1 ======= 2 - >>>>>>> other + >>>>>>> other: 0139c5610547 - test: "2" $ tellmeabout c c is an executable file with content: x