~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/cmd_version_info.py

  • Committer: Neil Martinsen-Burrell
  • Date: 2009-12-11 13:44:05 UTC
  • mto: This revision was merged to the branch mainline in revision 4916.
  • Revision ID: nmb@wartburg.edu-20091211134405-36njvdrqhco95s79
switch should use directory services when creating a branch

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)