~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/pack_repo.py

  • Committer: John Arbash Meinel
  • Date: 2008-11-21 21:55:19 UTC
  • mto: This revision was merged to the branch mainline in revision 3875.
  • Revision ID: john@arbash-meinel.com-20081121215519-vwv3wcmzybz57bvx
Ensure that RepositoryFormat._matchingbzrdir.repository_format matches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2296
2296
        return xml7.serializer_v7
2297
2297
 
2298
2298
    def _get_matching_bzrdir(self):
2299
 
        return bzrdir.format_registry.make_bzrdir(
 
2299
        matching = bzrdir.format_registry.make_bzrdir(
2300
2300
            '1.6.1-rich-root')
 
2301
        matching.repository_format = self
 
2302
        return matching
2301
2303
 
2302
2304
    def _ignore_setting_bzrdir(self, format):
2303
2305
        pass