mercurial/manifest.py
changeset 24664 ea4a7c8909ae
parent 24647 fb446c57f8f9
child 24665 5326820a2952
equal deleted inserted replaced
24663:7d01371e6358 24664:ea4a7c8909ae
   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: