/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/git/dir.py

  • Committer: Jelmer Vernooij
  • Date: 2018-06-14 17:59:16 UTC
  • mto: This revision was merged to the branch mainline in revision 7065.
  • Revision ID: jelmer@jelmer.uk-20180614175916-a2e2xh5k533guq1x
Move breezy.plugins.git to breezy.git.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
import urllib
23
23
 
24
 
from ... import (
 
24
from .. import (
25
25
    branch as _mod_branch,
26
26
    errors as bzr_errors,
27
27
    trace,
30
30
    revision as _mod_revision,
31
31
    urlutils,
32
32
    )
33
 
from ...transport import (
 
33
from ..transport import (
34
34
    do_catching_redirections,
35
35
    get_transport_from_path,
36
36
    )
37
37
 
38
 
from ...controldir import (
 
38
from ..controldir import (
39
39
    BranchReferenceLoop,
40
40
    ControlDir,
41
41
    ControlDirFormat,
153
153
               recurse='down', possible_transports=None,
154
154
               accelerator_tree=None, hardlink=False, stacked=False,
155
155
               source_branch=None, create_tree_if_local=True):
156
 
        from ...repository import InterRepository
157
 
        from ...transport.local import LocalTransport
158
 
        from ...transport import get_transport
 
156
        from ..repository import InterRepository
 
157
        from ..transport.local import LocalTransport
 
158
        from ..transport import get_transport
159
159
        target_transport = get_transport(url, possible_transports)
160
160
        target_transport.ensure_base()
161
161
        cloning_format = self.cloning_metadir()
197
197
        force_new_repo=False, preserve_stacking=False, stacked_on=None,
198
198
        create_prefix=False, use_existing_dir=True, no_tree=False):
199
199
        """See ControlDir.clone_on_transport."""
200
 
        from ...repository import InterRepository
 
200
        from ..repository import InterRepository
201
201
        from .mapping import default_mapping
202
202
        if stacked_on is not None:
203
203
            raise _mod_branch.UnstackableBranchFormat(self._format, self.user_url)