851
851
return Inventory(root_id=None)
852
852
other = Inventory(entries.next()[1].file_id)
853
854
# copy recursively so we know directories will be added before
854
855
# their children. There are more efficient ways than this...
855
856
for path, entry in entries: