##// END OF EJS Templates
histedit: attempt to make merge labels more helpful...
Martin von Zweigbergk -
r49437:f1162b12 default
parent child Browse files
Show More
@@ -667,7 +667,15 b' def applychanges(ui, repo, ctx, opts):'
667 667 repo.ui.setconfig(
668 668 b'ui', b'forcemerge', opts.get(b'tool', b''), b'histedit'
669 669 )
670 stats = mergemod.graft(repo, ctx, labels=[b'local', b'histedit'])
670 stats = mergemod.graft(
671 repo,
672 ctx,
673 labels=[
674 b'already edited',
675 b'current change',
676 b'parent of current change',
677 ],
678 )
671 679 finally:
672 680 repo.ui.setconfig(b'ui', b'forcemerge', b'', b'histedit')
673 681 return stats
@@ -77,8 +77,8 b' edit the history'
77 77 insert unsupported advisory merge record
78 78 $ hg --config extensions.fakemergerecord=$TESTDIR/fakemergerecord.py fakemergerecord -x
79 79 $ hg debugmergestate
80 local (local): 8f7551c7e4a2f2efe0bc8c741baf7f227d65d758
81 other (histedit): e860deea161a2f77de56603b340ebbb4536308ae
80 local (already edited): 8f7551c7e4a2f2efe0bc8c741baf7f227d65d758
81 other (current change): e860deea161a2f77de56603b340ebbb4536308ae
82 82 file: e (state "u")
83 83 local path: e (hash 58e6b3a414a1e090dfc6029add0f3555ccba127f, flags "")
84 84 ancestor path: e (node 0000000000000000000000000000000000000000)
General Comments 0
You need to be logged in to leave comments. Login now