~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Jelmer Vernooij
  • Date: 2011-03-22 12:10:34 UTC
  • mto: This revision was merged to the branch mainline in revision 5737.
  • Revision ID: jelmer@samba.org-20110322121034-70a7037sqrs2l2no
Rename check_status -> check_support_status.

Show diffs side-by-side

added added

removed removed

Lines of Context:
707
707
        except errors.TooManyRedirections:
708
708
            raise errors.NotBranchError(base)
709
709
 
710
 
        format.check_status(_unsupported)
 
710
        format.check_support_status(_unsupported)
711
711
        return format.open(transport, _found=True)
712
712
 
713
713
    @staticmethod
1147
1147
                    ignore_fallbacks=False):
1148
1148
        """See BzrDir.open_branch."""
1149
1149
        format = self.find_branch_format(name=name)
1150
 
        format.check_status(unsupported)
 
1150
        format.check_support_status(unsupported)
1151
1151
        return format.open(self, name=name,
1152
1152
            _found=True, ignore_fallbacks=ignore_fallbacks)
1153
1153
 
1155
1155
        """See BzrDir.open_repository."""
1156
1156
        from bzrlib.repository import RepositoryFormat
1157
1157
        format = RepositoryFormat.find_format(self)
1158
 
        format.check_status(unsupported)
 
1158
        format.check_support_status(unsupported)
1159
1159
        return format.open(self, _found=True)
1160
1160
 
1161
1161
    def open_workingtree(self, unsupported=False,
1163
1163
        """See BzrDir.open_workingtree."""
1164
1164
        from bzrlib.workingtree import WorkingTreeFormat
1165
1165
        format = WorkingTreeFormat.find_format(self)
1166
 
        format.check_status(unsupported, recommend_upgrade,
 
1166
        format.check_support_status(unsupported, recommend_upgrade,
1167
1167
            basedir=self.root_transport.base)
1168
1168
        return format.open(self, _found=True)
1169
1169