245
245
revision_keys = [(rev_id,) for rev_id in
246
246
TopoSorter(self._rev_graph.items()).iter_topo_order()]
247
247
stream = self._change_inv_parents(
248
self.inventory.get_record_stream(revision_keys, 'unsorted', True),
248
self.inventory.get_record_stream(revision_keys, 'unordered', True),
251
251
new_inventories.insert_record_stream(stream)