/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-06-01 21:57:00 UTC
  • mfrom: (7490.39.3 move-launchpad)
  • Revision ID: breezy.the.bot@gmail.com-20200601215700-joxuzo6w172gq74v
Move launchpad hoster support to the launchpad plugin.

Merged from https://code.launchpad.net/~jelmer/brz/move-launchpad/+merge/384931

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.CommandError(
 
47
        raise errors.BzrCommandError(
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.CommandError(
 
101
            raise errors.BzrCommandError(
102
102
                gettext('brz version-info --revision takes exactly'
103
103
                        ' one revision specifier'))
104
104