~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/deprecated_graph.py

Merge up bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
        new_lines = set()
58
58
        for line in lines:
59
59
            line_descendants = graph[line]
60
 
            assert line not in line_descendants, "%s refers to itself" % line
61
60
            for descendant in line_descendants:
62
61
                distance = max_distance(descendant, ancestors, distances,
63
62
                                        root_descendants)