334
334
# we have topological order of revisions and non ghost parents ready.
335
335
self._setup_steps(len(self.revisions))
338
338
for rev_id in TopoSorter(graph.items()).iter_topo_order():
340
340
# double check this really is in topological order, ignoring existing ghosts.
341
341
unavailable = [p for p in parents if p not in new_inventory_vf and