~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/controldir.py

(jelmer) Various improvements to allow running bzr interface tests against
 foreign branch plugins. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
681
681
    def is_supported(self):
682
682
        """Is this format supported?
683
683
 
684
 
        Supported formats must be openable.
 
684
        Supported formats must be initializable and openable.
685
685
        Unsupported formats may not support initialization or committing or
686
686
        some other features depending on the reason for not being supported.
687
687
        """
688
688
        return True
689
689
 
690
 
    def is_initializable(self):
691
 
        """Whether new control directories of this format can be initialized.
692
 
        """
693
 
        return self.is_supported()
694
 
 
695
690
    def check_support_status(self, allow_unsupported, recommend_upgrade=True,
696
691
        basedir=None):
697
692
        """Give an error or warning on old formats.