~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Patch Queue Manager
  • Date: 2012-03-14 14:39:16 UTC
  • mfrom: (6027.1.18 deprecations)
  • Revision ID: pqm@pqm.ubuntu.com-20120314143916-dggf9d1d26j3kizq
(vila) Remove some code deprecated in series older than 2.4 (inclusive)
 (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
205
205
        """Returns a unique ID for the config."""
206
206
        raise NotImplementedError(self.config_id)
207
207
 
208
 
    @deprecated_method(deprecated_in((2, 4, 0)))
209
 
    def get_editor(self):
210
 
        """Get the users pop up editor."""
211
 
        raise NotImplementedError
212
 
 
213
208
    def get_change_editor(self, old_tree, new_tree):
214
209
        from bzrlib import diff
215
210
        cmd = self._get_change_editor()
1056
1051
        conf._create_from_string(str_or_unicode, save)
1057
1052
        return conf
1058
1053
 
1059
 
    @deprecated_method(deprecated_in((2, 4, 0)))
1060
 
    def get_editor(self):
1061
 
        return self._get_user_option('editor')
1062
 
 
1063
1054
    @needs_write_lock
1064
1055
    def set_user_option(self, option, value):
1065
1056
        """Save option and its value in the configuration."""