~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.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:
2241
2241
    rich_root_data = False
2242
2242
    supports_tree_reference = False
2243
2243
    supports_external_lookups = False
2244
 
    _matchingbzrdir = bzrdir.BzrDirMetaFormat1()
 
2244
 
 
2245
    @property
 
2246
    def _matchingbzrdir(self):
 
2247
        matching = bzrdir.BzrDirMetaFormat1()
 
2248
        matching.repository_format = self
 
2249
        return matching
2245
2250
 
2246
2251
    def __init__(self):
2247
2252
        super(MetaDirRepositoryFormat, self).__init__()