~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-16 10:11:51 UTC
  • mfrom: (5757.6.11 knitpackrepo-5)
  • Revision ID: pqm@pqm.ubuntu.com-20110416101151-adka24z3gayoxml7
(jelmer) Make PackRepository subclass MetaDirRepository rather than
 KnitRepository. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
    )
60
60
 
61
61
 
62
 
class KnitPackRepository(PackRepository):
 
62
class KnitPackRepository(PackRepository, KnitRepository):
63
63
 
64
64
    def __init__(self, _format, a_bzrdir, control_files, _commit_builder_class,
65
65
        _serializer):
66
 
        KnitRepository.__init__(self, _format, a_bzrdir, control_files,
 
66
        PackRepository.__init__(self, _format, a_bzrdir, control_files,
67
67
            _commit_builder_class, _serializer)
68
68
        if self._format.supports_chks:
69
69
            raise AssertionError("chk not supported")