~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/weave_fmt/bzrdir.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-03-23 15:43:59 UTC
  • mfrom: (5717.1.11 notsupported-check)
  • Revision ID: pqm@pqm.ubuntu.com-20110323154359-2air2wty7svt2p92
(jelmer) Add ControlDir.check_support_status() which can print upgrade
 recommendations and raise incompatible format errors. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
863
863
        """See BzrDir.open_branch."""
864
864
        from bzrlib.plugins.weave_fmt.branch import BzrBranchFormat4
865
865
        format = BzrBranchFormat4()
866
 
        self._check_supported(format, unsupported)
 
866
        format.check_support_status(unsupported)
867
867
        return format.open(self, name, _found=True)
868
868
 
869
869
    def sprout(self, url, revision_id=None, force_new_repo=False,