/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 18:10:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521181028-zn04pdfw0od9hfj3
Rename brzlib => 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 brzlib.lazy_import import lazy_import
 
28
from breezy.lazy_import import lazy_import
29
29
lazy_import(globals(), """
30
 
from brzlib 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 brzlib.i18n import gettext
 
38
from breezy.i18n import gettext
39
39
""")
40
40
 
41
 
from brzlib.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 brzlib.bundle.serializer import read_bundle
54
 
        from brzlib.bundle import read_mergeable_from_url
55
 
        from brzlib 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):