mercurial/dirstate.py
changeset 18017 74912fe3d718
parent 17987 1683bca31752
child 18018 0fed3fe45ea7
equal deleted inserted replaced
18014:a39fe76c4c65 18017:74912fe3d718
   695 
   695 
   696         # step 3: report unseen items in the dmap hash
   696         # step 3: report unseen items in the dmap hash
   697         if not skipstep3 and not exact:
   697         if not skipstep3 and not exact:
   698             visit = sorted([f for f in dmap if f not in results and matchfn(f)])
   698             visit = sorted([f for f in dmap if f not in results and matchfn(f)])
   699             for nf, st in zip(visit, util.statfiles([join(i) for i in visit])):
   699             for nf, st in zip(visit, util.statfiles([join(i) for i in visit])):
   700                 if (not st is None and
       
   701                     getkind(st.st_mode) not in (regkind, lnkkind)):
       
   702                     st = None
       
   703                 results[nf] = st
   700                 results[nf] = st
   704         for s in subrepos:
   701         for s in subrepos:
   705             del results[s]
   702             del results[s]
   706         del results['.hg']
   703         del results['.hg']
   707         return results
   704         return results