[PATCH 3 of 5 STABLE V2] largefiles: explicitly return the result of commands.log() from overridelog()

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


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1346897560 14400
# Branch stable
# Node ID 04330bfa8ea0ad1f7c1c9f76576ed2a8a5a22d70
# Parent  00f98c03da14cea6a56cd664f91848ac07ddd78a
largefiles: explicitly return the result of commands.log() from overridelog()

diff --git a/hgext/largefiles/overrides.py b/hgext/largefiles/overrides.py
--- a/hgext/largefiles/overrides.py
+++ b/hgext/largefiles/overrides.py
@@ -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
 


More information about the Mercurial-devel mailing list