780
780
entries = inv.iter_entries()
781
781
# backwards compatability hack: skip the root id.
782
782
if not repository._format.rich_root_data:
784
787
# Add the texts that are not already present
786
789
w = repository.weave_store.get_weave_or_empty(ie.file_id,