Mercurial > hg > mercurial-source
comparison tests/test-subrepo.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 |
comparison
equal
deleted
inserted
replaced
21518:8e8049b9bda4 | 21519:25d5a9ecbb85 |
---|---|
296 (branch merge, don't forget to commit) | 296 (branch merge, don't forget to commit) |
297 | 297 |
298 should conflict | 298 should conflict |
299 | 299 |
300 $ cat t/t | 300 $ cat t/t |
301 <<<<<<< local | 301 <<<<<<< local: 20a0db6fbf6c - test: "10" |
302 conflict | 302 conflict |
303 ======= | 303 ======= |
304 t3 | 304 t3 |
305 >>>>>>> other | 305 >>>>>>> other: 7af322bc1198 - test: "7" |
306 | 306 |
307 clone | 307 clone |
308 | 308 |
309 $ cd .. | 309 $ cd .. |
310 $ hg clone t tc | 310 $ hg clone t tc |