equal
deleted
inserted
replaced
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: |