/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 remote.py

Use relative imports where possible.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
from __future__ import absolute_import
18
18
 
19
 
from bzrlib import (
 
19
from ... import (
20
20
    config,
21
21
    debug,
22
22
    trace,
23
23
    ui,
24
24
    urlutils,
25
25
    )
26
 
from bzrlib.errors import (
 
26
from ...errors import (
27
27
    BzrError,
28
28
    InProcessTransport,
29
29
    InvalidRevisionId,
33
33
    NotLocalUrl,
34
34
    UninitializableFormat,
35
35
    )
36
 
from bzrlib.transport import (
 
36
from ...transport import (
37
37
    Transport,
38
38
    )
39
39
 
40
 
from bzrlib.plugins.git import (
 
40
from . import (
41
41
    lazy_check_versions,
42
42
    )
43
43
lazy_check_versions()
44
44
 
45
 
from bzrlib.plugins.git.branch import (
 
45
from .branch import (
46
46
    GitBranch,
47
47
    GitTags,
48
48
    )
49
 
from bzrlib.plugins.git.dir import (
 
49
from .dir import (
50
50
    GitControlDirFormat,
51
51
    GitDir,
52
52
    )
53
 
from bzrlib.plugins.git.errors import (
 
53
from .errors import (
54
54
    GitSmartRemoteNotSupported,
55
55
    NoSuchRef,
56
56
    )
57
 
from bzrlib.plugins.git.mapping import (
 
57
from .mapping import (
58
58
    mapping_registry,
59
59
    )
60
 
from bzrlib.plugins.git.repository import (
 
60
from .repository import (
61
61
    GitRepository,
62
62
    )
63
 
from bzrlib.plugins.git.refs import (
 
63
from .refs import (
64
64
    branch_name_to_ref,
65
65
    is_peeled,
66
66
    )
202
202
class DulwichSSHVendor(dulwich.client.SSHVendor):
203
203
 
204
204
    def __init__(self):
205
 
        from bzrlib.transport import ssh
 
205
        from ...transport import ssh
206
206
        self.bzr_ssh_vendor = ssh._get_ssh_vendor()
207
207
 
208
208
    def run_command(self, host, command, username=None, port=None):