comparison 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
comparison
equal deleted inserted replaced
21518:8e8049b9bda4 21519:25d5a9ecbb85
288 U d 288 U d
289 U f 289 U f
290 U h 290 U h
291 $ tellmeabout a 291 $ tellmeabout a
292 a is a plain file with content: 292 a is a plain file with content:
293 <<<<<<< local 293 <<<<<<< local: 0139c5610547 - test: "2"
294 2 294 2
295 ======= 295 =======
296 1 296 1
297 >>>>>>> other 297 >>>>>>> other: 97e29675e796 - test: "1"
298 $ tellmeabout b 298 $ tellmeabout b
299 b is a plain file with content: 299 b is a plain file with content:
300 <<<<<<< local 300 <<<<<<< local: 0139c5610547 - test: "2"
301 2 301 2
302 ======= 302 =======
303 1 303 1
304 >>>>>>> other 304 >>>>>>> other: 97e29675e796 - test: "1"
305 $ tellmeabout c 305 $ tellmeabout c
306 c is a plain file with content: 306 c is a plain file with content:
307 x 307 x
308 $ tellmeabout d 308 $ tellmeabout d
309 d is a symlink: 309 d is a symlink:
343 3 files updated, 0 files merged, 0 files removed, 5 files unresolved 343 3 files updated, 0 files merged, 0 files removed, 5 files unresolved
344 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon 344 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
345 [1] 345 [1]
346 $ tellmeabout a 346 $ tellmeabout a
347 a is a plain file with content: 347 a is a plain file with content:
348 <<<<<<< local 348 <<<<<<< local: 97e29675e796 - test: "1"
349 1 349 1
350 ======= 350 =======
351 2 351 2
352 >>>>>>> other 352 >>>>>>> other: 0139c5610547 - test: "2"
353 $ tellmeabout b 353 $ tellmeabout b
354 b is an executable file with content: 354 b is an executable file with content:
355 <<<<<<< local 355 <<<<<<< local: 97e29675e796 - test: "1"
356 1 356 1
357 ======= 357 =======
358 2 358 2
359 >>>>>>> other 359 >>>>>>> other: 0139c5610547 - test: "2"
360 $ tellmeabout c 360 $ tellmeabout c
361 c is an executable file with content: 361 c is an executable file with content:
362 x 362 x
363 $ tellmeabout d 363 $ tellmeabout d
364 d is an executable file with content: 364 d is an executable file with content: