~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/groupcompress_repo.py

  • Committer: Jelmer Vernooij
  • Date: 2012-04-16 11:08:11 UTC
  • mfrom: (6521 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6522.
  • Revision ID: jelmer@samba.org-20120416110811-0y996ihqy9o2bb1t
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
import time
22
22
 
23
23
from bzrlib import (
24
 
    bzrdir,
 
24
    controldir,
25
25
    chk_map,
26
26
    chk_serializer,
27
27
    debug,
954
954
            else:
955
955
                basis_tree = self.revision_tree(basis_revision_id)
956
956
                basis_tree.lock_read()
957
 
                basis_inv = basis_tree.inventory
 
957
                basis_inv = basis_tree.root_inventory
958
958
        try:
959
959
            result = basis_inv.create_by_apply_delta(delta, new_revision_id,
960
960
                propagate_caches=propagate_caches)
1383
1383
    pack_compresses = True
1384
1384
 
1385
1385
    def _get_matching_bzrdir(self):
1386
 
        return bzrdir.format_registry.make_bzrdir('2a')
 
1386
        return controldir.format_registry.make_bzrdir('2a')
1387
1387
 
1388
1388
    def _ignore_setting_bzrdir(self, format):
1389
1389
        pass
1406
1406
    """
1407
1407
 
1408
1408
    def _get_matching_bzrdir(self):
1409
 
        return bzrdir.format_registry.make_bzrdir('development-subtree')
 
1409
        return controldir.format_registry.make_bzrdir('development-subtree')
1410
1410
 
1411
1411
    def _ignore_setting_bzrdir(self, format):
1412
1412
        pass