mercurial/revlog.py
changeset 38889 6104b203bec8
parent 38888 da5a666f0f78
child 38890 781b2720d2ac
equal deleted inserted replaced
38888:da5a666f0f78 38889:6104b203bec8
  2547             l = len(data[1]) + len(data[0])
  2547             l = len(data[1]) + len(data[0])
  2548             base = chainbase = curr
  2548             base = chainbase = curr
  2549 
  2549 
  2550         e = (offset_type(offset, flags), l, textlen,
  2550         e = (offset_type(offset, flags), l, textlen,
  2551              base, link, p1r, p2r, node)
  2551              base, link, p1r, p2r, node)
  2552         self.index.insert(-1, e)
  2552         self.index.append(e)
  2553         self.nodemap[node] = curr
  2553         self.nodemap[node] = curr
  2554 
  2554 
  2555         entry = self._io.packentry(e, self.node, self.version, curr)
  2555         entry = self._io.packentry(e, self.node, self.version, curr)
  2556         self._writeentry(transaction, ifh, dfh, entry, data, link, offset)
  2556         self._writeentry(transaction, ifh, dfh, entry, data, link, offset)
  2557 
  2557