[PATCH 4 of 5 STABLE] largefiles: explicitly return the result of rebase() from overriderebase()

Matt Harbison matt_harbison at yahoo.com
Wed Sep 5 23:33:10 CDT 2012


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1346898663 14400
# Branch stable
# Node ID d48bb31246621a420ecbd03c2dc871db82c57f6f
# Parent  21db4b4ae0fd48a322d3b7092f677722b372e91e
largefiles: explicitly return the result of rebase() from overriderebase()

diff --git a/hgext/largefiles/overrides.py b/hgext/largefiles/overrides.py
--- a/hgext/largefiles/overrides.py
+++ b/hgext/largefiles/overrides.py
@@ -745,7 +745,7 @@
 def overriderebase(orig, ui, repo, **opts):
     repo._isrebasing = True
     try:
-        orig(ui, repo, **opts)
+        return orig(ui, repo, **opts)
     finally:
         repo._isrebasing = False
 


More information about the Mercurial-devel mailing list