/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: Jelmer Vernooij
  • Date: 2020-02-07 02:14:30 UTC
  • mto: This revision was merged to the branch mainline in revision 7492.
  • Revision ID: jelmer@jelmer.uk-20200207021430-m49iq3x4x8xlib6x
Drop python2 support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
    )
35
35
from .commands import Command
36
36
from .option import Option, RegistryOption
37
 
from .sixish import text_type
38
37
 
39
38
 
40
39
def _parse_version_info_format(format):
87
86
                            help='Include the revision-history.'),
88
87
                     Option('include-file-revisions',
89
88
                            help='Include the last revision for each file.'),
90
 
                     Option('template', type=text_type,
 
89
                     Option('template', type=str,
91
90
                            help='Template for the output.'),
92
91
                     'revision',
93
92
                     ]