307
307
self.refcounts[p] = refcount - 1
308
308
parent_chunks = self.chunks[p]
309
310
# TODO: Should we cache the line form? We did the
310
311
# computation to get it, but storing it this way will
311
312
# be less memory efficient...
313
315
lines = osutils.chunks_to_lines(this_chunks)
319
318
self._compute_diff(record.key, parent_lines, lines)
320
320
# Is this content required for any more children?
321
321
if record.key in self.refcounts:
322
322
self.chunks[record.key] = this_chunks