~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/graph.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-08-17 18:18:18 UTC
  • mfrom: (4618.2.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090817181818-6ks7pxgiwpqvsd3l
(vila) Make selftest --parallel=fork work again

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    errors,
22
22
    revision,
23
23
    trace,
 
24
    tsort,
24
25
    )
25
26
from bzrlib.symbol_versioning import deprecated_function, deprecated_in
26
27
 
925
926
        An ancestor may sort after a descendant if the relationship is not
926
927
        visible in the supplied list of revisions.
927
928
        """
928
 
        from bzrlib import tsort
929
929
        sorter = tsort.TopoSorter(self.get_parent_map(revisions))
930
930
        return sorter.iter_topo_order()
931
931