375
375
for version in vf.versions():
377
376
if version in versions_with_bad_parents:
378
377
parents = versions_with_bad_parents[version][1]
379
380
new_parents[version] = parents
380
381
for version in topo_sort(new_parents.items()):
381
382
new_vf.add_lines(version, new_parents[version],