mercurial/manifest.py
changeset 29960 da75bc36202c
parent 29959 483003c27938
child 29961 774a15b129e8
equal deleted inserted replaced
29959:483003c27938 29960:da75bc36202c
  1232             return m.find(f)
  1232             return m.find(f)
  1233         except KeyError:
  1233         except KeyError:
  1234             return None, None
  1234             return None, None
  1235 
  1235 
  1236     def add(self, m, transaction, link, p1, p2, added, removed):
  1236     def add(self, m, transaction, link, p1, p2, added, removed):
  1237         if (p1 in self.fulltextcache and not self._treeinmem
  1237         if (p1 in self.fulltextcache and util.safehasattr(m, 'fastdelta')
  1238             and not self._usemanifestv2):
  1238             and not self._usemanifestv2):
  1239             # If our first parent is in the manifest cache, we can
  1239             # If our first parent is in the manifest cache, we can
  1240             # compute a delta here using properties we know about the
  1240             # compute a delta here using properties we know about the
  1241             # manifest up-front, which may save time later for the
  1241             # manifest up-front, which may save time later for the
  1242             # revlog layer.
  1242             # revlog layer.