529
532
self.add_file(inv, revid, 'path-id', 'root-id', 'path', '1' * 32,
532
536
self.add_link(inv, revid, 'path-id', 'root-id', 'path', 'target')
534
539
self.add_dir(inv, revid, 'path-id', 'root-id', 'path')
535
541
for old_factory in (do_file, do_link, do_dir):
536
542
for new_factory in (do_file, do_link, do_dir):
537
543
if old_factory == new_factory: