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

Matt Harbison matt_harbison at yahoo.com
Wed Sep 5 23:33:09 CDT 2012


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1346897560 14400
# Branch stable
# Node ID 21db4b4ae0fd48a322d3b7092f677722b372e91e
# Parent  4d439f36e60ddd7b754c6ef9765467d193e7a45f
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
@@ -242,7 +242,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