/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/groupcompress.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:
21
21
import time
22
22
import zlib
23
23
 
24
 
from brzlib.lazy_import import lazy_import
 
24
from breezy.lazy_import import lazy_import
25
25
lazy_import(globals(), """
26
 
from brzlib import (
 
26
from breezy import (
27
27
    annotate,
28
28
    config,
29
29
    debug,
36
36
    tsort,
37
37
    )
38
38
 
39
 
from brzlib.repofmt import pack_repo
40
 
from brzlib.i18n import gettext
 
39
from breezy.repofmt import pack_repo
 
40
from breezy.i18n import gettext
41
41
""")
42
42
 
43
 
from brzlib.btree_index import BTreeBuilder
44
 
from brzlib.lru_cache import LRUSizeCache
45
 
from brzlib.versionedfile import (
 
43
from breezy.btree_index import BTreeBuilder
 
44
from breezy.lru_cache import LRUSizeCache
 
45
from breezy.versionedfile import (
46
46
    _KeyRefs,
47
47
    adapter_registry,
48
48
    AbsentContentFactory,
1945
1945
        inconsistency_fatal=True, track_new_keys=False):
1946
1946
        """Construct a _GCGraphIndex on a graph_index.
1947
1947
 
1948
 
        :param graph_index: An implementation of brzlib.index.GraphIndex.
 
1948
        :param graph_index: An implementation of breezy.index.GraphIndex.
1949
1949
        :param is_locked: A callback, returns True if the index is locked and
1950
1950
            thus usable.
1951
1951
        :param parents: If True, record knits parents, if not do not record
2188
2188
            key_dependencies.add_references(node[1], node[3][0])
2189
2189
 
2190
2190
 
2191
 
from brzlib._groupcompress_py import (
 
2191
from breezy._groupcompress_py import (
2192
2192
    apply_delta,
2193
2193
    apply_delta_to_source,
2194
2194
    encode_base128_int,
2197
2197
    LinesDeltaIndex,
2198
2198
    )
2199
2199
try:
2200
 
    from brzlib._groupcompress_pyx import (
 
2200
    from breezy._groupcompress_pyx import (
2201
2201
        apply_delta,
2202
2202
        apply_delta_to_source,
2203
2203
        DeltaIndex,