diff mercurial/debugcommands.py @ 32363:a275186b989a

debugcommands: use repo[None].walk instead of repo.walk
author Augie Fackler <augie@google.com>
date Thu, 18 May 2017 18:01:01 -0400
parents 46ba2cdda476
children a9c71d578a1c
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Thu May 18 18:00:52 2017 -0400
+++ b/mercurial/debugcommands.py	Thu May 18 18:01:01 2017 -0400
@@ -2168,7 +2168,7 @@
 def debugwalk(ui, repo, *pats, **opts):
     """show how files match on given patterns"""
     m = scmutil.match(repo[None], pats, opts)
-    items = list(repo.walk(m))
+    items = list(repo[None].walk(m))
     if not items:
         return
     f = lambda fn: fn