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

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-06-12 01:45:56 UTC
  • mfrom: (7513.1.2 pypy3)
  • Revision ID: breezy.the.bot@gmail.com-20200612014556-tsc8assk3d0luziu
Avoid deprecated behaviour in ElementTree.

Merged from https://code.launchpad.net/~jelmer/brz/pypy3/+merge/385611

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""bzr-upload command implementations."""
18
18
 
19
 
from __future__ import absolute_import
20
 
 
21
19
from ... import (
22
20
    commands,
23
21
    config,
39
37
    )
40
38
""")
41
39
 
42
 
from ...sixish import (
43
 
    text_type,
44
 
    )
45
40
 
46
41
auto_option = config.Option(
47
42
    'upload_auto', default=False, from_unicode=config.bool_from_store,
483
478
                      help='Branch to upload from, '
484
479
                      'rather than the one containing the working directory.',
485
480
                      short_name='d',
486
 
                      type=text_type,
 
481
                      type=str,
487
482
                      ),
488
483
        option.Option('auto',
489
484
                      'Trigger an upload from this branch whenever the tip '