comparison tests/test-graft.t @ 28634:3ceac01bc29f

merge: save merge part labels for later reuse We permit the caller of merge operations to supply labels for the merge parts ("local", "other", and optionally "base"). These labels are used in conflict markers to reduce confusion; however, the labels were not persistent, so 'hg resolve' would lose the labels. Store the labels in the mergestate.
author Simon Farnsworth <simonfar@fb.com>
date Sat, 19 Mar 2016 18:37:10 -0700
parents 564a354f7f35
children fc1d75e7a98d
comparison
equal deleted inserted replaced
28633:e35d7f131483 28634:3ceac01bc29f
450 $ cat a 450 $ cat a
451 <<<<<<< local: aaa4406d4f0a - test: 9 451 <<<<<<< local: aaa4406d4f0a - test: 9
452 c 452 c
453 ======= 453 =======
454 b 454 b
455 >>>>>>> other: 5d205f8b35b6 - bar: 1 455 >>>>>>> graft: 5d205f8b35b6 - bar: 1
456 $ echo b > a 456 $ echo b > a
457 $ hg resolve -m a 457 $ hg resolve -m a
458 (no more unresolved files) 458 (no more unresolved files)
459 continue: hg graft --continue 459 continue: hg graft --continue
460 $ hg graft -c 460 $ hg graft -c