mercurial/cmdutil.py
changeset 23391 d8cdd46f426d
parent 23374 aa0a430d9c75
child 23404 b913c394386f
--- a/mercurial/cmdutil.py	Thu Nov 20 22:33:40 2014 -0500
+++ b/mercurial/cmdutil.py	Wed Nov 19 22:27:55 2014 -0500
@@ -1984,7 +1984,7 @@
         cca = scmutil.casecollisionauditor(ui, abort, repo.dirstate)
     for f in wctx.walk(match):
         exact = match.exact(f)
-        if exact or not explicitonly and f not in wctx:
+        if exact or not explicitonly and f not in wctx and repo.wvfs.exists(f):
             if cca:
                 cca(f)
             names.append(f)