/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/plugins/propose/cmds.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-02-14 03:16:54 UTC
  • mfrom: (7479.2.3 no-more-python2)
  • Revision ID: breezy.the.bot@gmail.com-20200214031654-bp1xtv2jr9nmhto3
Drop python2 support.

Merged from https://code.launchpad.net/~jelmer/brz/no-more-python2/+merge/378694

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    Option,
37
37
    RegistryOption,
38
38
    )
39
 
from ...sixish import text_type
40
39
from ...trace import note
41
40
from ... import (
42
41
    propose as _mod_propose,
139
138
            'hoster',
140
139
            help='Use the hoster.',
141
140
            lazy_registry=('breezy.plugins.propose.propose', 'hosters')),
142
 
        ListOption('reviewers', short_name='R', type=text_type,
 
141
        ListOption('reviewers', short_name='R', type=str,
143
142
                   help='Requested reviewers.'),
144
143
        Option('name', help='Name of the new remote branch.', type=str),
145
144
        Option('description', help='Description of the change.', type=str),
148
147
        Option(
149
148
            'commit-message',
150
149
            help='Set commit message for merge, if supported', type=str),
151
 
        ListOption('labels', short_name='l', type=text_type,
 
150
        ListOption('labels', short_name='l', type=str,
152
151
                   help='Labels to apply.'),
153
152
        Option('no-allow-lossy',
154
153
               help='Allow fallback to lossy push, if necessary.'),