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

Use relative imports where possible.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
import base64
24
24
import stat
25
25
 
26
 
from bzrlib import (
 
26
from ... import (
27
27
    bencode,
28
28
    errors,
29
29
    foreign,
30
30
    trace,
31
31
    )
32
 
from bzrlib.inventory import (
 
32
from ...inventory import (
33
33
    ROOT_ID,
34
34
    )
35
 
from bzrlib.foreign import (
 
35
from ...foreign import (
36
36
    ForeignVcs,
37
37
    VcsMappingRegistry,
38
38
    ForeignRevision,
39
39
    )
40
 
from bzrlib.revision import (
 
40
from ...revision import (
41
41
    NULL_REVISION,
42
42
    )
43
 
from bzrlib.plugins.git.errors import (
 
43
from .errors import (
44
44
    NoPushSupport,
45
45
    UnknownCommitExtra,
46
46
    UnknownMercurialCommitExtra,
47
47
    )
48
 
from bzrlib.plugins.git.hg import (
 
48
from .hg import (
49
49
    format_hg_metadata,
50
50
    extract_hg_metadata,
51
51
    )
52
 
from bzrlib.plugins.git.roundtrip import (
 
52
from .roundtrip import (
53
53
    extract_bzr_metadata,
54
54
    inject_bzr_metadata,
55
55
    CommitSupplement,
489
489
 
490
490
    @property
491
491
    def branch_format(self):
492
 
        from bzrlib.plugins.git.branch import GitBranchFormat
 
492
        from .branch import GitBranchFormat
493
493
        return GitBranchFormat()
494
494
 
495
495
    @property
496
496
    def repository_format(self):
497
 
        from bzrlib.plugins.git.repository import GitRepositoryFormat
 
497
        from .repository import GitRepositoryFormat
498
498
        return GitRepositoryFormat()
499
499
 
500
500
    def __init__(self):