~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: 2009-11-17 03:20:35 UTC
  • mfrom: (4792.4.3 456036)
  • Revision ID: pqm@pqm.ubuntu.com-20091117032035-s3sgtlixj1lrminn
(Gordon Tyler) Fix IndexError during 'bzr ignore /' (#456036)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005, 2006, 2009 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,
25
 
    ui,
 
24
    workingtree,
26
25
    version_info_formats,
27
 
    workingtree,
28
26
    )
29
27
""")
30
 
 
31
28
from bzrlib.commands import Command
32
29
from bzrlib.option import Option, RegistryOption
33
30
 
116
113
                include_revision_history=include_history,
117
114
                include_file_revisions=include_file_revisions,
118
115
                template=template)
119
 
        builder.generate(ui.ui_factory.make_output_stream())
 
116
        builder.generate(self.outf)