325
327
inv.root.revision = 'wrong-secondary-parent'
326
328
if repo.supports_rich_root():
327
329
root_id = inv.root.file_id
330
repo.texts.add_lines((root_id, 'wrong-secondary-parent'), [], [])
331
331
sha1 = repo.add_inventory('wrong-secondary-parent', inv, ['1', '3', '2'])
332
332
rev = Revision(timestamp=0,