/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/bundle/commands.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 19:09:26 UTC
  • mfrom: (6622.1.36 breezy)
  • Revision ID: jelmer@jelmer.uk-20170521190926-5vtz8xaf0e9ylrpc
Merge rename to breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
from cStringIO import StringIO
27
27
 
28
 
from bzrlib.lazy_import import lazy_import
 
28
from breezy.lazy_import import lazy_import
29
29
lazy_import(globals(), """
30
 
from bzrlib import (
 
30
from breezy import (
31
31
    branch,
32
32
    errors,
33
33
    merge_directive,
35
35
    urlutils,
36
36
    transport,
37
37
    )
38
 
from bzrlib.i18n import gettext
 
38
from breezy.i18n import gettext
39
39
""")
40
40
 
41
 
from bzrlib.commands import Command
 
41
from breezy.commands import Command
42
42
 
43
43
 
44
44
class cmd_bundle_info(Command):
50
50
    encoding_type = 'exact'
51
51
 
52
52
    def run(self, location, verbose=False):
53
 
        from bzrlib.bundle.serializer import read_bundle
54
 
        from bzrlib.bundle import read_mergeable_from_url
55
 
        from bzrlib import osutils
 
53
        from breezy.bundle.serializer import read_bundle
 
54
        from breezy.bundle import read_mergeable_from_url
 
55
        from breezy import osutils
56
56
        term_encoding = osutils.get_terminal_encoding()
57
57
        bundle_info = read_mergeable_from_url(location)
58
58
        if isinstance(bundle_info, merge_directive.BaseMergeDirective):