/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Robert Collins
  • Date: 2009-03-03 03:27:51 UTC
  • mto: (4070.2.5 integration)
  • mto: This revision was merged to the branch mainline in revision 4075.
  • Revision ID: robertc@robertcollins.net-20090303032751-ubyfhezgjul6y5ic
Get BzrDir.cloning_metadir working.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2086
2086
    def __init__(self):
2087
2087
        self._workingtree_format = None
2088
2088
        self._branch_format = None
 
2089
        self._repository_format = None
2089
2090
 
2090
2091
    def __eq__(self, other):
2091
2092
        if other.__class__ is not self.__class__:
2155
2156
 
2156
2157
    def __return_repository_format(self):
2157
2158
        """Circular import protection."""
2158
 
        if getattr(self, '_repository_format', None):
 
2159
        if self._repository_format:
2159
2160
            return self._repository_format
2160
2161
        from bzrlib.repository import RepositoryFormat
2161
2162
        return RepositoryFormat.get_default_format()