~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/controldir.py

  • Committer: Jelmer Vernooij
  • Date: 2011-12-07 14:49:51 UTC
  • mto: (6213.1.27 feature-flags)
  • mto: This revision was merged to the branch mainline in revision 6353.
  • Revision ID: jelmer@samba.org-20111207144951-s6rl2er769aqtj1l
Fix remaining tests.

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
 
 
85
81
 
86
82
class ControlDir(ControlComponent):
87
83
    """A control directory.
866
862
            ui.ui_factory.recommend_upgrade(
867
863
                self.get_format_description(), basedir)
868
864
 
 
865
    @classmethod
 
866
    def get_format_string(cls):
 
867
        raise NotImplementedError(cls.get_format_string)
 
868
 
869
869
 
870
870
class ControlComponentFormatRegistry(registry.FormatRegistry):
871
871
    """A registry for control components (branch, workingtree, repository)."""