58
58
inv_sha1 = repo.add_inventory('revision-id', inv, [])
59
59
if repo.supports_rich_root():
60
60
root_id = inv.root.file_id
61
repo.texts.add_lines((root_id, 'revision-id'), [], [])
64
62
revision = _mod_revision.Revision('revision-id',
65
63
committer='jrandom@example.com', timestamp=0,
66
64
inventory_sha1=inv_sha1, timezone=0, message='message',
68
66
# Manually add the revision text using the RevisionStore API, with