~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/cmd_version_info.py

  • Committer: Ian Clatworthy
  • Date: 2007-11-27 21:17:06 UTC
  • mto: (3054.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 3055.
  • Revision ID: ian.clatworthy@internode.on.net-20071127211706-871zcqst0yi5tcvl
make fixes suggested by proof-readers

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""Commands for generating snapshot information about a bzr tree."""
18
18
 
 
19
from bzrlib.lazy_import import lazy_import
 
20
lazy_import(globals(), """
19
21
from bzrlib import (
20
22
    branch,
21
23
    errors,
22
24
    version_info_formats,
23
25
    workingtree,
24
26
    )
 
27
""")
25
28
from bzrlib.commands import Command
26
29
from bzrlib.option import Option
27
30
 
42
45
 
43
46
 
44
47
class cmd_version_info(Command):
45
 
    """Generate version information about this tree."""
 
48
    """Show version information about this tree."""
46
49
 
47
50
    takes_options = [Option('format', type=_parse_version_info_format,
48
 
                            help='Select the output format'),
49
 
                     Option('all', help='include all possible information'),
50
 
                     Option('check-clean', help='check if tree is clean'),
 
51
                            help='Select the output format.'),
 
52
                     Option('all', help='Include all possible information.'),
 
53
                     Option('check-clean', help='Check if tree is clean.'),
51
54
                     Option('include-history',
52
 
                            help='Include the revision-history'),
 
55
                            help='Include the revision-history.'),
53
56
                     Option('include-file-revisions',
54
 
                            help='Include the last revision for each file')
 
57
                            help='Include the last revision for each file.')
55
58
                     ]
56
59
    takes_args = ['location?']
57
60