# step 3: report unseen items in the dmap hash
if not skipstep3 and not exact:
visit = sorted([f for f in dmap if f not in results and matchfn(f)])
- for st in util.statfiles([join(i) for i in visit]):
+ # unknown == True means we walked the full directory tree above.
+ # So if a file is not seen it was either a) not matching matchfn
+ # b) ignored, c) missing, or d) under a symlink directory.
+ audit_path = scmutil.pathauditor(self._root)
+ # Report ignored items in the dmap as long as they are not
+ # under a symlink directory.
+ if ignore(nf) and audit_path.check(nf):
+ results[nf] = util.statfiles([join(nf)])
+ # It's either missing or under a symlink directory
+ # We may not have walked the full directory tree above,
+ # so stat everything we missed.
+ for st in util.statfiles([join(i) for i in visit]):