~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.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:
2646
2646
            return False
2647
2647
        return self.get_format_description() == other.get_format_description()
2648
2648
 
 
2649
    @property
 
2650
    def repository_format(self):
 
2651
        # Using a property to avoid early loading of remote
 
2652
        return remote.RemoteRepositoryFormat()
 
2653
 
2649
2654
 
2650
2655
BzrDirFormat.register_control_server_format(RemoteBzrDirFormat)
2651
2656