~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/cmd_version_info.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-10-01 07:56:03 UTC
  • mfrom: (3224.5.40 faster-startup)
  • Revision ID: pqm@pqm.ubuntu.com-20081001075603-s9nynw8y85fmrprj
Reduce startup time by a small amount. (Andrew Bennetts)

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
    branch,
23
23
    errors,
24
24
    workingtree,
 
25
    version_info_formats,
25
26
    )
26
27
""")
27
 
from bzrlib import (
28
 
    version_info_formats,
29
 
    )
30
28
from bzrlib.commands import Command
31
29
from bzrlib.option import Option, RegistryOption
32
30
 
72
70
 
73
71
    takes_options = [RegistryOption('format',
74
72
                            'Select the output format.',
75
 
                            version_info_formats.format_registry,
76
 
                            value_switches=True),
 
73
                            value_switches=True,
 
74
                            lazy_registry=('bzrlib.version_info_formats',
 
75
                                           'format_registry')),
77
76
                     Option('all', help='Include all possible information.'),
78
77
                     Option('check-clean', help='Check if tree is clean.'),
79
78
                     Option('include-history',