[Request] [+ ] D8570: rebase: use context to load mergestate instead of loading it directly
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Mon May 18 22:10:57 UTC 2020
durin42 created this revision.
Herald added a reviewer: martinvonz.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D8570
AFFECTED FILES
hgext/rebase.py
CHANGE DETAILS
diff --git a/hgext/rebase.py b/hgext/rebase.py
--- a/hgext/rebase.py
+++ b/hgext/rebase.py
@@ -538,7 +538,7 @@
user=ctx.user(),
date=date,
)
- mergestatemod.mergestate.clean(repo)
+ self.wctx.mergestate(clean=True)
else:
newnode = commitnode(
repo,
To: durin42, martinvonz, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20200518/7c9fe76d/attachment.html>
More information about the Mercurial-patches
mailing list