/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-07-05 12:50:01 UTC
  • mfrom: (7490.40.46 work)
  • mto: (7490.40.48 work)
  • mto: This revision was merged to the branch mainline in revision 7519.
  • Revision ID: jelmer@jelmer.uk-20200705125001-7s3vo0p55szbbws7
Merge lp:brz/3.1.

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