/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/controldir.py

  • Committer: Jelmer Vernooij
  • Date: 2011-12-07 14:03:01 UTC
  • mto: (6213.1.25 feature-flags)
  • mto: This revision was merged to the branch mainline in revision 6353.
  • Revision ID: jelmer@samba.org-20111207140301-87aa1dcekem98tws
Add BzrDirMetaComponentFormat.

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
    def user_url(self):
79
79
        return self.user_transport.base
80
80
 
 
81
    @classmethod
 
82
    def get_format_string(cls):
 
83
        raise NotImplementedError(self.get_format_string)
 
84
 
81
85
 
82
86
class ControlDir(ControlComponent):
83
87
    """A control directory.
830
834
 
831
835
    upgrade_recommended = False
832
836
 
833
 
    def get_format_string(self):
834
 
        """Return the format of this format, if usable in meta directories."""
835
 
        raise NotImplementedError(self.get_format_string)
836
 
 
837
837
    def get_format_description(self):
838
838
        """Return the short description for this format."""
839
839
        raise NotImplementedError(self.get_format_description)