~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/controldir.py

  • Committer: Jelmer Vernooij
  • Date: 2011-03-11 14:14:37 UTC
  • mto: (5712.4.8 bzrdir-weave)
  • mto: This revision was merged to the branch mainline in revision 5716.
  • Revision ID: jelmer@samba.org-20110311141437-leo1i31d6zfrqb8r
Raise exception from ControlDirFormat.register_format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
766
766
            target_format.rich_root_data)
767
767
 
768
768
    @classmethod
 
769
    def register_format(klass, format):
 
770
        """Register a format that does not use '.bzr' for its control dir.
 
771
 
 
772
        """
 
773
        raise errors.BzrError("ControlDirFormat.register_format() has been "
 
774
            "removed in Bazaar 2.4. Please upgrade your plugins.")
 
775
 
 
776
    @classmethod
769
777
    def register_prober(klass, prober):
770
778
        """Register a prober that can look for a control dir.
771
779