~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/knitpack_repo.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-04-19 01:07:44 UTC
  • mfrom: (5757.7.11 knitpackrepo-6)
  • Revision ID: pqm@pqm.ubuntu.com-20110419010744-ns5qnlw97wrrva7s
(jelmer) Split KnitPackRepository-specific bits out of Packer class into
 KnitPacker. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
    KnitRepository,
57
57
    )
58
58
from bzrlib.repofmt.pack_repo import (
59
 
    _DirectPackAccess,
60
59
    NewPack,
61
60
    RepositoryFormatPack,
62
61
    ResumedPack,
1042
1041
            self.new_pack.text_index,
1043
1042
            ('blank', ), 1,
1044
1043
            add_nodes_callback=self.new_pack.text_index.add_nodes)
1045
 
        data_access = _DirectPackAccess(
 
1044
        data_access = knit._DirectPackAccess(
1046
1045
                {self.new_pack.text_index:self.new_pack.access_tuple()})
1047
1046
        data_access.set_writer(self.new_pack._writer, self.new_pack.text_index,
1048
1047
            self.new_pack.access_tuple())