inhibit: compatibility with 4.4-rc
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 19 Oct 2017 21:23:21 +0200
changeset 3079 039313d772d2
parent 3078 1e29cdd9c022
child 3080 461c9d940519
inhibit: compatibility with 4.4-rc
hgext3rd/evolve/hack/inhibit.py
--- a/hgext3rd/evolve/hack/inhibit.py	Thu Oct 19 20:01:00 2017 +0200
+++ b/hgext3rd/evolve/hack/inhibit.py	Thu Oct 19 21:23:21 2017 +0200
@@ -237,8 +237,8 @@
     return r
 
 def _clearrebased(orig, ui, repo, dest, state, skipped, collapsedas=None,
-                  keepf=False):
-    r = orig(ui, repo, dest, state, skipped, collapsedas, keepf)
+                  keepf=False, **kwargs):
+    r = orig(ui, repo, dest, state, skipped, collapsedas, keepf, **kwargs)
     if keepf:
         return r
     tonode = repo.changelog.node