equal
deleted
inserted
replaced
738 return self._matches(match) |
738 return self._matches(match) |
739 |
739 |
740 def _matches(self, match): |
740 def _matches(self, match): |
741 '''recursively generate a new manifest filtered by the match argument. |
741 '''recursively generate a new manifest filtered by the match argument. |
742 ''' |
742 ''' |
|
743 |
|
744 visit = match.visitdir(self._dir[:-1] or '.') |
|
745 if visit == 'all': |
|
746 return self.copy() |
743 ret = treemanifest(self._dir) |
747 ret = treemanifest(self._dir) |
744 |
748 if not visit: |
745 if not match.visitdir(self._dir[:-1] or '.'): |
|
746 return ret |
749 return ret |
747 |
750 |
748 self._load() |
751 self._load() |
749 for fn in self._files: |
752 for fn in self._files: |
750 fullp = self._subpath(fn) |
753 fullp = self._subpath(fn) |