~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.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:
2258
2258
    rich_root_data = False
2259
2259
    supports_tree_reference = False
2260
2260
    supports_external_lookups = False
2261
 
    _matchingbzrdir = bzrdir.BzrDirMetaFormat1()
 
2261
 
 
2262
    @property
 
2263
    def _matchingbzrdir(self):
 
2264
        matching = bzrdir.BzrDirMetaFormat1()
 
2265
        matching.repository_format = self
 
2266
        return matching
2262
2267
 
2263
2268
    def __init__(self):
2264
2269
        super(MetaDirRepositoryFormat, self).__init__()