342
342
inv = Inventory(revision_id='wrong-first-parent')
343
343
inv.root.revision = 'wrong-first-parent'
346
repo.texts.add_lines((root_id, 'wrong-first-parent'), [], [])
344
347
sha1 = repo.add_inventory('wrong-first-parent', inv, ['2', '1'])
345
348
rev = Revision(timestamp=0,