55
55
tail = self._base64_buffer+self._compressor.flush()
56
56
self._fileobj.write(tail.encode('base-64'))
58
def add_multiparent_record(self, mp_bytes, parents, repo_kind,
58
def add_multiparent_record(self, mp_bytes, sha1, parents, repo_kind,
61
'storage_kind': 'mpdiff'}, repo_kind, revision_id, file_id)
63
self._add_record(mp_bytes, metadata, repo_kind, revision_id, file_id)
63
65
def add_fulltext_record(self, bytes, parents, repo_kind, revision_id,
66
68
'storage_kind': 'fulltext'}, repo_kind, revision_id, file_id)