changeset 22168:1b9d0dc1bbe1 stable

largefiles: drop setting lfstatus in overridelog (issue4334) lfstatus should only be True for operations where we want standins to be printed out. We explicitly do not want that for historical operations like log. Other historical operations like hg diff -r A -r B don't print out standins either. This is required to fix issue4334, but doesn't fix anything by itself. That's why there aren't any tests accompanying this patch.
author Siddharth Agarwal <sid0@fb.com>
date Wed, 13 Aug 2014 15:13:50 -0700
parents d4bc38f6eab7
children 35cc5b07b3fc
files hgext/largefiles/overrides.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/largefiles/overrides.py	Wed Aug 13 15:17:03 2014 -0700
+++ b/hgext/largefiles/overrides.py	Wed Aug 13 15:13:50 2014 -0700
@@ -301,10 +301,8 @@
 
     oldmatchandpats = installmatchandpatsfn(overridematchandpats)
     try:
-        repo.lfstatus = True
         return orig(ui, repo, *pats, **opts)
     finally:
-        repo.lfstatus = False
         restorematchandpatsfn()
 
 def overrideverify(orig, ui, repo, *pats, **opts):