##// 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 def applychanges(ui, repo, ctx, opts):
667 repo.ui.setconfig(
667 repo.ui.setconfig(
668 b'ui', b'forcemerge', opts.get(b'tool', b''), b'histedit'
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 finally:
679 finally:
672 repo.ui.setconfig(b'ui', b'forcemerge', b'', b'histedit')
680 repo.ui.setconfig(b'ui', b'forcemerge', b'', b'histedit')
673 return stats
681 return stats
@@ -77,8 +77,8 edit the history
77 insert unsupported advisory merge record
77 insert unsupported advisory merge record
78 $ hg --config extensions.fakemergerecord=$TESTDIR/fakemergerecord.py fakemergerecord -x
78 $ hg --config extensions.fakemergerecord=$TESTDIR/fakemergerecord.py fakemergerecord -x
79 $ hg debugmergestate
79 $ hg debugmergestate
80 local (local): 8f7551c7e4a2f2efe0bc8c741baf7f227d65d758
80 local (already edited): 8f7551c7e4a2f2efe0bc8c741baf7f227d65d758
81 other (histedit): e860deea161a2f77de56603b340ebbb4536308ae
81 other (current change): e860deea161a2f77de56603b340ebbb4536308ae
82 file: e (state "u")
82 file: e (state "u")
83 local path: e (hash 58e6b3a414a1e090dfc6029add0f3555ccba127f, flags "")
83 local path: e (hash 58e6b3a414a1e090dfc6029add0f3555ccba127f, flags "")
84 ancestor path: e (node 0000000000000000000000000000000000000000)
84 ancestor path: e (node 0000000000000000000000000000000000000000)
General Comments 0
You need to be logged in to leave comments. Login now