mercurial/dirstate.py
changeset 4254 a7cae4e22749
parent 4188 dd0d9bd91e0a
child 4256 fe0fe0b4d73b
equal deleted inserted replaced
4253:9e3e975258a9 4254:a7cae4e22749
   421                         continue
   421                         continue
   422                     p = os.path.join(top, f)
   422                     p = os.path.join(top, f)
   423                     # don't trip over symlinks
   423                     # don't trip over symlinks
   424                     st = os.lstat(p)
   424                     st = os.lstat(p)
   425                     if stat.S_ISDIR(st.st_mode):
   425                     if stat.S_ISDIR(st.st_mode):
   426                         if not ignore(p):
   426                         if not ignore(np):
   427                             work.append(p)
   427                             work.append(p)
   428                         if imatch(np) and np in dc:
   428                         if imatch(np) and np in dc:
   429                             yield 'm', np, st
   429                             yield 'm', np, st
   430                     elif imatch(np):
   430                     elif imatch(np):
   431                         if self.supported_type(np, st):
   431                         if self.supported_type(np, st):