equal
deleted
inserted
replaced
265 files = match.files() |
265 files = match.files() |
266 if (len(files) < 100 and (match.isexact() or |
266 if (len(files) < 100 and (match.isexact() or |
267 (not match.anypats() and util.all(fn in self for fn in files)))): |
267 (not match.anypats() and util.all(fn in self for fn in files)))): |
268 return self._intersectfiles(files) |
268 return self._intersectfiles(files) |
269 |
269 |
270 lm = manifestdict('') |
270 m = manifestdict('') |
271 lm._lm = self._lm.filtercopy(match) |
271 m._lm = self._lm.filtercopy(match) |
272 return lm |
272 return m |
273 |
273 |
274 def diff(self, m2, clean=False): |
274 def diff(self, m2, clean=False): |
275 '''Finds changes between the current manifest and m2. |
275 '''Finds changes between the current manifest and m2. |
276 |
276 |
277 Args: |
277 Args: |