changeset 17578:40c988f108d0 stable

largefiles: preserve the exit status of the rebase command
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 05 Sep 2012 22:31:03 -0400
parents 0f39e9355d3c
children cbacb5a813dd
files hgext/largefiles/overrides.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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