/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-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
"""Commands for generating snapshot information about a brz tree."""
18
18
 
19
 
from __future__ import absolute_import
20
 
 
21
19
from .lazy_import import lazy_import
22
20
 
23
21
lazy_import(globals(), """
34
32
    )
35
33
from .commands import Command
36
34
from .option import Option, RegistryOption
37
 
from .sixish import text_type
38
35
 
39
36
 
40
37
def _parse_version_info_format(format):
87
84
                            help='Include the revision-history.'),
88
85
                     Option('include-file-revisions',
89
86
                            help='Include the last revision for each file.'),
90
 
                     Option('template', type=text_type,
 
87
                     Option('template', type=str,
91
88
                            help='Template for the output.'),
92
89
                     'revision',
93
90
                     ]