[Request] [+ ] D12025: graft: attempt to make merge labels more helpful
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Fri Jan 21 23:37:11 UTC 2022
martinvonz created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12025
AFFECTED FILES
mercurial/commands.py
CHANGE DETAILS
diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -3309,7 +3309,9 @@
overrides = {(b'ui', b'forcemerge'): opts.get('tool', b'')}
base = ctx.p1() if basectx is None else basectx
with ui.configoverride(overrides, b'graft'):
- stats = mergemod.graft(repo, ctx, base, [b'local', b'graft'])
+ stats = mergemod.graft(
+ repo, ctx, base, [b'local', b'graft', b'parent of graft']
+ )
# report any conflicts
if stats.unresolvedcount > 0:
# write out state for --continue
To: martinvonz, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20220121/269d89e3/attachment-0001.html>
More information about the Mercurial-patches
mailing list