diff hgext/strip.py @ 45490:0ce6af73f481

mergestate: make some callers not pass pointless node argument The node argument is set on the created `mergestate` instance, but these callers don't even look at that instance. Differential Revision: https://phab.mercurial-scm.org/D9031
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 15 Sep 2020 22:40:26 -0700
parents b7808443ed6a
children 93a0f3ba36bb
line wrap: on
line diff
--- a/hgext/strip.py	Thu Sep 17 09:56:05 2020 -0700
+++ b/hgext/strip.py	Tue Sep 15 22:40:26 2020 -0700
@@ -269,7 +269,7 @@
             repo.dirstate.write(repo.currenttransaction())
 
             # clear resolve state
-            mergestatemod.mergestate.clean(repo, repo[b'.'].node())
+            mergestatemod.mergestate.clean(repo)
 
             update = False