[Request] [+ ] D8554: strip: get mergestate via context
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Mon May 18 22:07:47 UTC 2020
durin42 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/D8554
AFFECTED FILES
hgext/strip.py
CHANGE DETAILS
diff --git a/hgext/strip.py b/hgext/strip.py
--- a/hgext/strip.py
+++ b/hgext/strip.py
@@ -13,7 +13,6 @@
error,
hg,
lock as lockmod,
- mergestate as mergestatemod,
node as nodemod,
pycompat,
registrar,
@@ -269,7 +268,7 @@
repo.dirstate.write(repo.currenttransaction())
# clear resolve state
- mergestatemod.mergestate.clean(repo, repo[b'.'].node())
+ repo[None].mergestate(clean=True)
update = False
To: durin42, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20200518/729b90cb/attachment.html>
More information about the Mercurial-patches
mailing list