mercurial/cmdutil.py
changeset 34343 255c761a52db
parent 34327 4647e0a8d3d7
child 34372 2a360445afa0
--- a/mercurial/cmdutil.py	Fri Sep 29 14:23:41 2017 -0700
+++ b/mercurial/cmdutil.py	Fri Sep 29 14:19:36 2017 -0700
@@ -2708,8 +2708,8 @@
     dirstate = repo.dirstate
     # We don't want to just call wctx.walk here, since it would return a lot of
     # clean files, which we aren't interested in and takes time.
-    for f in sorted(dirstate.walk(badmatch, sorted(wctx.substate),
-                                  True, False, full=False)):
+    for f in sorted(dirstate.walk(badmatch, subrepos=sorted(wctx.substate),
+                                  unknown=True, ignored=False, full=False)):
         exact = match.exact(f)
         if exact or not explicitonly and f not in wctx and repo.wvfs.lexists(f):
             if cca: