409
411
# TODO: Fix this, we shouldn't really be peeking here
410
412
entry = self._block._entries[key]
411
413
if entry.type == 'fulltext':
414
417
assert entry.type == 'delta'
415
418
# XXX: This is inefficient at best
416
419
source = ''.join(self.lines)
418
422
assert entry.sha1 == sha_string(bytes)