changeset 17577:0f39e9355d3c stable

largefiles: preserve the exit status of the log command
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 05 Sep 2012 22:12:40 -0400
parents e0081bb5450e
children 40c988f108d0
files hgext/largefiles/overrides.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/largefiles/overrides.py	Sun Sep 09 20:18:08 2012 -0400
+++ b/hgext/largefiles/overrides.py	Wed Sep 05 22:12:40 2012 -0400
@@ -240,7 +240,7 @@
 def overridelog(orig, ui, repo, *pats, **opts):
     try:
         repo.lfstatus = True
-        orig(ui, repo, *pats, **opts)
+        return orig(ui, repo, *pats, **opts)
     finally:
         repo.lfstatus = False