mercurial/dirstate.py
changeset 18017 74912fe3d718
parent 17987 1683bca31752
child 18018 0fed3fe45ea7
--- a/mercurial/dirstate.py	Mon Oct 08 19:34:04 2012 +0200
+++ b/mercurial/dirstate.py	Fri Nov 30 15:55:07 2012 -0800
@@ -697,9 +697,6 @@
         if not skipstep3 and not exact:
             visit = sorted([f for f in dmap if f not in results and matchfn(f)])
             for nf, st in zip(visit, util.statfiles([join(i) for i in visit])):
-                if (not st is None and
-                    getkind(st.st_mode) not in (regkind, lnkkind)):
-                    st = None
                 results[nf] = st
         for s in subrepos:
             del results[s]