~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_knit.py

  • Committer: Jelmer Vernooij
  • Date: 2011-04-05 23:57:17 UTC
  • mfrom: (5757.7.5 knitpackrepo-6)
  • mto: This revision was merged to the branch mainline in revision 5801.
  • Revision ID: jelmer@samba.org-20110405235717-874fdflj5lon4sle
MergeĀ knitpackrepo-6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
    make_file_factory,
47
47
    )
48
48
from bzrlib.patiencediff import PatienceSequenceMatcher
49
 
from bzrlib.repofmt import pack_repo
 
49
from bzrlib.repofmt import knitpack_repo
50
50
from bzrlib.tests import (
51
51
    TestCase,
52
52
    TestCaseWithMemoryTransport,
396
396
        collection = repo._pack_collection
397
397
        collection.ensure_loaded()
398
398
        orig_packs = collection.packs
399
 
        packer = pack_repo.Packer(collection, orig_packs, '.testpack')
 
399
        packer = knitpack_repo.KnitPacker(collection, orig_packs, '.testpack')
400
400
        new_pack = packer.pack()
401
401
        # forget about the new pack
402
402
        collection.reset()