largefiles: preserve the exit status of the rebase command stable
authorMatt Harbison <matt_harbison@yahoo.com>
Wed, 05 Sep 2012 22:31:03 -0400
branchstable
changeset 17578 40c988f108d0
parent 17577 0f39e9355d3c
child 17579 cbacb5a813dd
largefiles: preserve the exit status of the rebase command
hgext/largefiles/overrides.py
--- a/hgext/largefiles/overrides.py	Wed Sep 05 22:12:40 2012 -0400
+++ b/hgext/largefiles/overrides.py	Wed Sep 05 22:31:03 2012 -0400
@@ -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