/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 brzlib/repofmt/groupcompress_repo.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 11:25:18 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521112518-5x3xa7t4hnjk8kb8
Rename bzrlib => brzlib, bzr => brz.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
import time
22
22
 
23
 
from bzrlib import (
 
23
from brzlib import (
24
24
    controldir,
25
25
    chk_map,
26
26
    chk_serializer,
35
35
    ui,
36
36
    versionedfile,
37
37
    )
38
 
from bzrlib.btree_index import (
 
38
from brzlib.btree_index import (
39
39
    BTreeGraphIndex,
40
40
    BTreeBuilder,
41
41
    )
42
 
from bzrlib.decorators import needs_write_lock
43
 
from bzrlib.groupcompress import (
 
42
from brzlib.decorators import needs_write_lock
 
43
from brzlib.groupcompress import (
44
44
    _GCGraphIndex,
45
45
    GroupCompressVersionedFiles,
46
46
    )
47
 
from bzrlib.repofmt.pack_repo import (
 
47
from brzlib.repofmt.pack_repo import (
48
48
    _DirectPackAccess,
49
49
    Pack,
50
50
    NewPack,
55
55
    ResumedPack,
56
56
    Packer,
57
57
    )
58
 
from bzrlib.vf_repository import (
 
58
from brzlib.vf_repository import (
59
59
    StreamSource,
60
60
    )
61
 
from bzrlib.static_tuple import StaticTuple
 
61
from brzlib.static_tuple import StaticTuple
62
62
 
63
63
 
64
64
class GCPack(NewPack):
1095
1095
        """Reconcile this repository to make sure all CHKs are in canonical
1096
1096
        form.
1097
1097
        """
1098
 
        from bzrlib.reconcile import PackReconciler
 
1098
        from brzlib.reconcile import PackReconciler
1099
1099
        reconciler = PackReconciler(self, thorough=True, canonicalize_chks=True)
1100
1100
        reconciler.reconcile()
1101
1101
        return reconciler