/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tsort.py

  • Committer: Andrew Bennetts
  • Date: 2011-07-12 23:33:11 UTC
  • mto: (6015.3.2 2.4)
  • mto: This revision was merged to the branch mainline in revision 6027.
  • Revision ID: andrew.bennetts@canonical.com-20110712233311-o5j4bvptl3kvw0l6
Backport lp:bzr r6020: Speed up TestCaseWithMemoryTransport._check_safety_net by reading the dirstate file directly rather than using WorkingTree.open().

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
        revision number sequences in the output. See the output description of
178
178
        the MergeSorter docstring for details.
179
179
    :result: See the MergeSorter docstring for details.
180
 
    node identifiers can be any hashable object, and are typically strings.
 
180
 
 
181
    Node identifiers can be any hashable object, and are typically strings.
181
182
    """
182
183
    return MergeSorter(graph, branch_tip, mainline_revisions,
183
184
        generate_revno).sorted()