~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/cmd_version_info.py

  • Committer: John Arbash Meinel
  • Date: 2009-07-08 15:43:51 UTC
  • mto: This revision was merged to the branch mainline in revision 4521.
  • Revision ID: john@arbash-meinel.com-20090708154351-u0t41fwjqm28pbnu
Add comments in the finally sections as to why we want them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005-2011 Canonical Ltd
 
1
# Copyright (C) 2005, 2006 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
17
17
"""Commands for generating snapshot information about a bzr tree."""
18
18
 
19
19
from bzrlib.lazy_import import lazy_import
20
 
 
21
20
lazy_import(globals(), """
22
21
from bzrlib import (
23
22
    branch,
24
23
    errors,
 
24
    workingtree,
25
25
    version_info_formats,
26
 
    workingtree,
27
26
    )
28
27
""")
29
 
 
30
28
from bzrlib.commands import Command
31
29
from bzrlib.option import Option, RegistryOption
32
30
 
47
45
 
48
46
 
49
47
class cmd_version_info(Command):
50
 
    __doc__ = """Show version information about this tree.
 
48
    """Show version information about this tree.
51
49
 
52
50
    You can use this command to add information about version into
53
51
    source code of an application. The output can be in one of the