diff hgext/largefiles/overrides.py @ 15787:0c7b83a057aa stable

largefiles: fix output of hg summary (issue3060)
author Na'Tosha Bard <natosha@unity3d.com>
date Sun, 08 Jan 2012 12:35:47 +0100
parents aca0f2b3c7e3
children 07b6af9076b4
line wrap: on
line diff
--- a/hgext/largefiles/overrides.py	Sun Jan 08 11:19:51 2012 +0100
+++ b/hgext/largefiles/overrides.py	Sun Jan 08 12:35:47 2012 +0100
@@ -841,7 +841,11 @@
             ui.status('\n')
 
 def override_summary(orig, ui, repo, *pats, **opts):
-    orig(ui, repo, *pats, **opts)
+    try:
+        repo.lfstatus = True
+        orig(ui, repo, *pats, **opts)
+    finally:
+        repo.lfstatus = False
 
     if opts.pop('large', None):
         toupload = getoutgoinglfiles(ui, repo, None, **opts)