1016
1017
def add_revision(self, repo, revision_id, inv, parent_ids):
1017
1018
inv.revision_id = revision_id
1018
1019
inv.root.revision = revision_id
1020
repo.texts.add_lines((inv.root.file_id, revision_id), [], [])
1019
1021
repo.add_inventory(revision_id, inv, parent_ids)
1020
1022
revision = _mod_revision.Revision(revision_id,
1021
1023
committer='jrandom@example.com', timestamp=0, inventory_sha1='',