/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 breezy/config.py

  • Committer: Jelmer Vernooij
  • Date: 2020-06-21 02:15:25 UTC
  • mto: (7490.40.23 work)
  • mto: This revision was merged to the branch mainline in revision 7517.
  • Revision ID: jelmer@jelmer.uk-20200621021525-en904vhtu6t0qcv3
Rename BzrCommandError to CommandError.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2934
2934
            try:
2935
2935
                name, value = over.split('=', 1)
2936
2936
            except ValueError:
2937
 
                raise errors.BzrCommandError(
 
2937
                raise errors.CommandError(
2938
2938
                    gettext("Invalid '%s', should be of the form 'name=value'")
2939
2939
                    % (over,))
2940
2940
            self.options[name] = value
4035
4035
 
4036
4036
    def _remove_config_option(self, name, directory, scope):
4037
4037
        if name is None:
4038
 
            raise errors.BzrCommandError(
 
4038
            raise errors.CommandError(
4039
4039
                '--remove expects an option to remove.')
4040
4040
        conf = self._get_stack(directory, scope, write_access=True)
4041
4041
        try: