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

  • Committer: Jelmer Vernooij
  • Date: 2020-06-23 01:02:30 UTC
  • mfrom: (7490.40.27 work)
  • mto: This revision was merged to the branch mainline in revision 7517.
  • Revision ID: jelmer@jelmer.uk-20200623010230-62nnywznmb76h6ut
Merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
        return version_info_formats.get_builder(format)
45
45
    except KeyError:
46
46
        formats = version_info_formats.get_builder_formats()
47
 
        raise errors.BzrCommandError(
 
47
        raise errors.CommandError(
48
48
            gettext('No known version info format {0}.'
49
49
                    ' Supported types are: {1}').format(format, formats))
50
50
 
98
98
            revision=None):
99
99
 
100
100
        if revision and len(revision) > 1:
101
 
            raise errors.BzrCommandError(
 
101
            raise errors.CommandError(
102
102
                gettext('brz version-info --revision takes exactly'
103
103
                        ' one revision specifier'))
104
104