branching: merge with stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 19 Oct 2017 20:01:00 +0200
changeset 3078 1e29cdd9c022
parent 3076 87e349f617f9 (current diff)
parent 3077 b76fe277cef2 (diff)
child 3079 039313d772d2
branching: merge with stable Merge with the inhibit fix.
--- a/hgext3rd/evolve/hack/inhibit.py	Wed Oct 18 19:00:56 2017 +0200
+++ b/hgext3rd/evolve/hack/inhibit.py	Thu Oct 19 20:01:00 2017 +0200
@@ -236,8 +236,11 @@
     repo._obsoletenotrebased = r.keys()
     return r
 
-def _clearrebased(orig, ui, repo, *args, **kwargs):
-    r = orig(ui, repo, *args, **kwargs)
+def _clearrebased(orig, ui, repo, dest, state, skipped, collapsedas=None,
+                  keepf=False):
+    r = orig(ui, repo, dest, state, skipped, collapsedas, keepf)
+    if keepf:
+        return r
     tonode = repo.changelog.node
     if util.safehasattr(repo, '_obsoletenotrebased'):
         _deinhibitmarkers(repo, [tonode(k) for k in repo._obsoletenotrebased])