/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/graph.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 18:10:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521181028-zn04pdfw0od9hfj3
Rename brzlib => breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
import time
20
20
 
21
 
from brzlib import (
 
21
from breezy import (
22
22
    debug,
23
23
    errors,
24
24
    osutils,
1047
1047
        An ancestor may sort after a descendant if the relationship is not
1048
1048
        visible in the supplied list of revisions.
1049
1049
        """
1050
 
        from brzlib import tsort
 
1050
        from breezy import tsort
1051
1051
        sorter = tsort.TopoSorter(self.get_parent_map(revisions))
1052
1052
        return sorter.iter_topo_order()
1053
1053
 
1377
1377
            static - the search can be advanced and the search result will not
1378
1378
            be invalidated or altered.
1379
1379
        """
1380
 
        from brzlib.vf_search import SearchResult
 
1380
        from breezy.vf_search import SearchResult
1381
1381
        (started_keys, excludes, included_keys) = self.get_state()
1382
1382
        return SearchResult(started_keys, excludes, len(included_keys),
1383
1383
            included_keys)
1709
1709
 
1710
1710
_counters = [0,0,0,0,0,0,0]
1711
1711
try:
1712
 
    from brzlib._known_graph_pyx import KnownGraph
 
1712
    from breezy._known_graph_pyx import KnownGraph
1713
1713
except ImportError, e:
1714
1714
    osutils.failed_to_load_extension(e)
1715
 
    from brzlib._known_graph_py import KnownGraph
 
1715
    from breezy._known_graph_py import KnownGraph