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

Matt Harbison matt_harbison at yahoo.com
Sun Sep 9 20:54:55 CDT 2012


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1346898663 14400
# Branch stable
# Node ID 9fd7ab2e9274d532ac46a9d71e28a36240496483
# Parent  04330bfa8ea0ad1f7c1c9f76576ed2a8a5a22d70
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
@@ -743,7 +743,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