~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/groupcompress_repo.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-04-09 00:35:35 UTC
  • mfrom: (5757.5.4 move-direct-pack-access)
  • Revision ID: pqm@pqm.ubuntu.com-20110409003535-lu3d1bkltkbqul3x
(jelmer) Move _DirectPackAccess to bzrlib.repofmt.pack_repo. (Jelmer
 Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    GroupCompressVersionedFiles,
45
45
    )
46
46
from bzrlib.repofmt.pack_repo import (
 
47
    _DirectPackAccess,
47
48
    Pack,
48
49
    NewPack,
49
50
    PackRepository,
354
355
        """Build a VersionedFiles instance on top of this group of packs."""
355
356
        index_name = index_name + '_index'
356
357
        index_to_pack = {}
357
 
        access = knit._DirectPackAccess(index_to_pack,
358
 
                                        reload_func=self._reload_func)
 
358
        access = _DirectPackAccess(index_to_pack,
 
359
                                   reload_func=self._reload_func)
359
360
        if for_write:
360
361
            # Use new_pack
361
362
            if self.new_pack is None: