358
358
to_store = self.target.weave_store
359
360
for tree in self.iter_rev_trees(revs):
360
361
revision_id = tree.inventory.root.revision
361
362
root_id = tree.get_root_id()
363
366
if root_id not in versionedfile:
365
368
self.target.get_transaction())
366
369
_, _, parent_texts[root_id] = versionedfile[root_id].add_lines(
367
370
revision_id, parents, [], parent_texts)