~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: 2010-01-20 17:19:44 UTC
  • mfrom: (4973.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20100120171944-8gkub20gotjcye67
(spiv) Implement a per-file merge hook

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())