~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/cmd_version_info.py

  • Committer: Martin Pool
  • Date: 2010-01-15 04:17:57 UTC
  • mto: This revision was merged to the branch mainline in revision 5019.
  • Revision ID: mbp@sourcefrog.net-20100115041757-cd8pu9o5a511jc8q
Rip out most remaining uses of DummyProgressBar

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005-2011 Canonical Ltd
 
1
# Copyright (C) 2005, 2006, 2009 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
22
22
from bzrlib import (
23
23
    branch,
24
24
    errors,
 
25
    ui,
25
26
    version_info_formats,
26
27
    workingtree,
27
28
    )
47
48
 
48
49
 
49
50
class cmd_version_info(Command):
50
 
    __doc__ = """Show version information about this tree.
 
51
    """Show version information about this tree.
51
52
 
52
53
    You can use this command to add information about version into
53
54
    source code of an application. The output can be in one of the
115
116
                include_revision_history=include_history,
116
117
                include_file_revisions=include_file_revisions,
117
118
                template=template)
118
 
        builder.generate(self.outf)
 
119
        builder.generate(ui.ui_factory.make_output_stream())