mercurial/cmdutil.py
changeset 40088 1d09ba0d2ed3
parent 40030 e2697acd9381
child 40102 57500950f40e
--- a/mercurial/cmdutil.py	Mon Oct 01 10:11:00 2018 -0700
+++ b/mercurial/cmdutil.py	Mon Oct 01 14:31:15 2018 -0700
@@ -2044,6 +2044,7 @@
     if abort or warn:
         cca = scmutil.casecollisionauditor(ui, abort, repo.dirstate)
 
+    match = repo.narrowmatch(match, includeexact=True)
     badmatch = matchmod.badmatch(match, badfn)
     dirstate = repo.dirstate
     # We don't want to just call wctx.walk here, since it would return a lot of