/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): Gustav Hartvigsson
  • Date: 2021-01-10 18:46:30 UTC
  • mfrom: (7526.1.1 brz-removed-api-doc)
  • mto: This revision was merged to the branch mainline in revision 7532.
  • Revision ID: breezy.the.bot@gmail.com-20210110184630-dxu0g9dqq020uiw6
Drop documentation for removed API API.

Merged from https://code.launchpad.net/~gustav-hartvigsson/brz/removed-api-doc/+merge/396033

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