/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-05-06 03:06:18 UTC
  • mfrom: (7500.1.2 trunk-merge-3.1)
  • Revision ID: breezy.the.bot@gmail.com-20200506030618-131sjbc876q7on66
Merge the 3.1 branch.

Merged from https://code.launchpad.net/~jelmer/brz/trunk-merge-3.1/+merge/383481

Show diffs side-by-side

added added

removed removed

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