##// END OF EJS Templates
rebase: specify custom conflict marker labels for rebase (BC)...
Durham Goode -
r21526:3b40e32e default
parent child Browse files
Show More
@@ -531,7 +531,8 b' def rebasenode(repo, rev, p1, state, col'
531 repo.ui.debug(" detach base %d:%s\n" % (repo[base].rev(), repo[base]))
531 repo.ui.debug(" detach base %d:%s\n" % (repo[base].rev(), repo[base]))
532 # When collapsing in-place, the parent is the common ancestor, we
532 # When collapsing in-place, the parent is the common ancestor, we
533 # have to allow merging with it.
533 # have to allow merging with it.
534 return merge.update(repo, rev, True, True, False, base, collapse)
534 return merge.update(repo, rev, True, True, False, base, collapse,
535 labels=['dest', 'source'])
535
536
536 def nearestrebased(repo, rev, state):
537 def nearestrebased(repo, rev, state):
537 """return the nearest ancestors of rev in the rebase result"""
538 """return the nearest ancestors of rev in the rebase result"""
@@ -210,11 +210,11 b' ensure that we have a merge with unresol'
210 +++ b/a/a
210 +++ b/a/a
211 @@ -1,2 +1,6 @@
211 @@ -1,2 +1,6 @@
212 a
212 a
213 +<<<<<<< local: * - shelve: "pending changes temporary commit" (glob)
213 +<<<<<<< dest: * - shelve: "pending changes temporary commit" (glob)
214 c
214 c
215 +=======
215 +=======
216 +a
216 +a
217 +>>>>>>> other: * - shelve: "changes to '[mq]: second.patch'" (glob)
217 +>>>>>>> source: * - shelve: "changes to '[mq]: second.patch'" (glob)
218 diff --git a/b.rename/b b/b.rename/b
218 diff --git a/b.rename/b b/b.rename/b
219 new file mode 100644
219 new file mode 100644
220 --- /dev/null
220 --- /dev/null
@@ -604,11 +604,11 b' unshelve and conflicts with tracked and '
604 M f
604 M f
605 ? f.orig
605 ? f.orig
606 $ cat f
606 $ cat f
607 <<<<<<< local: 5f6b880e719b - shelve: "pending changes temporary commit"
607 <<<<<<< dest: 5f6b880e719b - shelve: "pending changes temporary commit"
608 g
608 g
609 =======
609 =======
610 f
610 f
611 >>>>>>> other: 23b29cada8ba - shelve: "changes to 'commit stuff'"
611 >>>>>>> source: 23b29cada8ba - shelve: "changes to 'commit stuff'"
612 $ cat f.orig
612 $ cat f.orig
613 g
613 g
614 $ hg unshelve --abort
614 $ hg unshelve --abort
@@ -647,11 +647,11 b' unshelve and conflicts with tracked and '
647 M f
647 M f
648 ? f.orig
648 ? f.orig
649 $ cat f
649 $ cat f
650 <<<<<<< local: 6b563750f973 - test: "intermediate other change"
650 <<<<<<< dest: 6b563750f973 - test: "intermediate other change"
651 g
651 g
652 =======
652 =======
653 f
653 f
654 >>>>>>> other: 23b29cada8ba - shelve: "changes to 'commit stuff'"
654 >>>>>>> source: 23b29cada8ba - shelve: "changes to 'commit stuff'"
655 $ cat f.orig
655 $ cat f.orig
656 g
656 g
657 $ hg unshelve --abort
657 $ hg unshelve --abort
General Comments 0
You need to be logged in to leave comments. Login now