diff mercurial/scmutil.py @ 34343:255c761a52db

dirstate: use keyword arguments to clarify walk()'s callers The arguments are especially non-obvious because the order is different from dirstate.status(). Differential Revision: https://phab.mercurial-scm.org/D846
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 29 Sep 2017 14:19:36 -0700
parents 4647e0a8d3d7
children f61f5af5ed31
line wrap: on
line diff
--- a/mercurial/scmutil.py	Fri Sep 29 14:23:41 2017 -0700
+++ b/mercurial/scmutil.py	Fri Sep 29 14:19:36 2017 -0700
@@ -760,8 +760,8 @@
 
     ctx = repo[None]
     dirstate = repo.dirstate
-    walkresults = dirstate.walk(matcher, sorted(ctx.substate), True, False,
-                                full=False)
+    walkresults = dirstate.walk(matcher, subrepos=sorted(ctx.substate),
+                                unknown=True, ignored=False, full=False)
     for abs, st in walkresults.iteritems():
         dstate = dirstate[abs]
         if dstate == '?' and audit_path.check(abs):