~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Jelmer Vernooij
  • Date: 2012-04-02 01:44:26 UTC
  • mfrom: (6518 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6519.
  • Revision ID: jelmer@samba.org-20120402014426-0o5qtysohyl006b2
merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3078
3078
    def __ne__(self, other):
3079
3079
        return not (self == other)
3080
3080
 
3081
 
    @classmethod
3082
 
    @symbol_versioning.deprecated_method(
3083
 
        symbol_versioning.deprecated_in((2, 4, 0)))
3084
 
    def get_default_format(klass):
3085
 
        """Return the current default format."""
3086
 
        return format_registry.get_default()
3087
 
 
3088
3081
    def get_format_description(self):
3089
3082
        """Return the short description for this format."""
3090
3083
        raise NotImplementedError(self.get_format_description)
3106
3099
        """True if this format supports stored views."""
3107
3100
        return False
3108
3101
 
3109
 
    @classmethod
3110
 
    @symbol_versioning.deprecated_method(
3111
 
        symbol_versioning.deprecated_in((2, 4, 0)))
3112
 
    def register_format(klass, format):
3113
 
        format_registry.register(format)
3114
 
 
3115
 
    @classmethod
3116
 
    @symbol_versioning.deprecated_method(
3117
 
        symbol_versioning.deprecated_in((2, 4, 0)))
3118
 
    def register_extra_format(klass, format):
3119
 
        format_registry.register_extra(format)
3120
 
 
3121
 
    @classmethod
3122
 
    @symbol_versioning.deprecated_method(
3123
 
        symbol_versioning.deprecated_in((2, 4, 0)))
3124
 
    def unregister_extra_format(klass, format):
3125
 
        format_registry.unregister_extra(format)
3126
 
 
3127
 
    @classmethod
3128
 
    @symbol_versioning.deprecated_method(
3129
 
        symbol_versioning.deprecated_in((2, 4, 0)))
3130
 
    def get_formats(klass):
3131
 
        return format_registry._get_all()
3132
 
 
3133
 
    @classmethod
3134
 
    @symbol_versioning.deprecated_method(
3135
 
        symbol_versioning.deprecated_in((2, 4, 0)))
3136
 
    def set_default_format(klass, format):
3137
 
        format_registry.set_default(format)
3138
 
 
3139
 
    @classmethod
3140
 
    @symbol_versioning.deprecated_method(
3141
 
        symbol_versioning.deprecated_in((2, 4, 0)))
3142
 
    def unregister_format(klass, format):
3143
 
        format_registry.remove(format)
3144
 
 
3145
3102
    def get_controldir_for_branch(self):
3146
3103
        """Get the control directory format for creating branches.
3147
3104