/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 breezy/_known_graph_py.py

  • Committer: Jelmer Vernooij
  • Date: 2017-06-04 19:17:13 UTC
  • mfrom: (0.193.10 trunk)
  • mto: This revision was merged to the branch mainline in revision 6778.
  • Revision ID: jelmer@jelmer.uk-20170604191713-hau7dfsqsl035slm
Bundle the cvs plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
"""Implementation of Graph algorithms when we have already loaded everything.
18
18
"""
19
19
 
 
20
from __future__ import absolute_import
 
21
 
20
22
from collections import deque
21
 
from bzrlib import (
 
23
from . import (
22
24
    errors,
23
25
    revision,
24
26
    )
335
337
 
336
338
    def merge_sort(self, tip_key):
337
339
        """Compute the merge sorted graph output."""
338
 
        from bzrlib import tsort
 
340
        from breezy import tsort
339
341
        as_parent_map = dict((node.key, node.parent_keys)
340
342
                             for node in self._nodes.itervalues()
341
343
                              if node.parent_keys is not None)