465
447
builder = tree.branch.get_commit_builder([rev_id])
468
449
delete_change = ('foo-id', ('foo', None), True, (True, False),
469
450
(tree.path2id(''), None), ('foo', None), ('file', None),
471
452
list(builder.record_iter_changes(tree, rev_id,
473
454
self.assertEqual(("foo", None, "foo-id", None),
475
456
self.assertTrue(builder.any_changes())
476
457
builder.finish_inventory()
477
458
rev_id2 = builder.commit('delete foo')