~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/pack_repo.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-12-01 19:07:21 UTC
  • mfrom: (3845.1.1 repo_matching_bzrdir)
  • Revision ID: pqm@pqm.ubuntu.com-20081201190721-auckake4i6ws048z
(jam) Ensure that repo_fmt.matching_bzrdir.repository_format matches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2313
2313
        return xml7.serializer_v7
2314
2314
 
2315
2315
    def _get_matching_bzrdir(self):
2316
 
        return bzrdir.format_registry.make_bzrdir(
 
2316
        matching = bzrdir.format_registry.make_bzrdir(
2317
2317
            '1.6.1-rich-root')
 
2318
        matching.repository_format = self
 
2319
        return matching
2318
2320
 
2319
2321
    def _ignore_setting_bzrdir(self, format):
2320
2322
        pass