changeset 32361:124ee239d9cb

largefiles: use repo[None].walk instead of repo.walk
author Augie Fackler <augie@google.com>
date Thu, 18 May 2017 18:00:38 -0400
parents af3ef002395d
children 7b3c27af90c2
files hgext/largefiles/overrides.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/largefiles/overrides.py	Tue Apr 25 17:43:30 2017 -0700
+++ b/hgext/largefiles/overrides.py	Thu May 18 18:00:38 2017 -0400
@@ -119,7 +119,7 @@
     m = matcher
 
     wctx = repo[None]
-    for f in repo.walk(matchmod.badmatch(m, lambda x, y: None)):
+    for f in repo[None].walk(matchmod.badmatch(m, lambda x, y: None)):
         exact = m.exact(f)
         lfile = lfutil.standin(f) in wctx
         nfile = f in wctx