mercurial/scmutil.py
changeset 40088 1d09ba0d2ed3
parent 40042 ca9d0c93acea
child 40167 c554dc0cc16e
--- a/mercurial/scmutil.py	Mon Oct 01 10:11:00 2018 -0700
+++ b/mercurial/scmutil.py	Mon Oct 01 14:31:15 2018 -0700
@@ -1098,6 +1098,7 @@
 
     ctx = repo[None]
     dirstate = repo.dirstate
+    matcher = repo.narrowmatch(matcher, includeexact=True)
     walkresults = dirstate.walk(matcher, subrepos=sorted(ctx.substate),
                                 unknown=True, ignored=False, full=False)
     for abs, st in walkresults.iteritems():