mercurial/manifest.py
changeset 36301 5245bac09e6a
parent 36300 413c179cf7d5
child 36373 0147a4730420
equal deleted inserted replaced
36300:413c179cf7d5 36301:5245bac09e6a
  1017         if not match.visitdir(self._dir[:-1] or '.'):
  1017         if not match.visitdir(self._dir[:-1] or '.'):
  1018             return
  1018             return
  1019 
  1019 
  1020         # yield this dir's files and walk its submanifests
  1020         # yield this dir's files and walk its submanifests
  1021         self._load()
  1021         self._load()
  1022         for p in sorted(self._dirs.keys() + self._files.keys()):
  1022         for p in sorted(list(self._dirs) + list(self._files)):
  1023             if p in self._files:
  1023             if p in self._files:
  1024                 fullp = self._subpath(p)
  1024                 fullp = self._subpath(p)
  1025                 if match(fullp):
  1025                 if match(fullp):
  1026                     yield fullp
  1026                     yield fullp
  1027             else:
  1027             else: