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