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

  • Committer: Jelmer Vernooij
  • Date: 2017-06-04 21:54:56 UTC
  • mto: This revision was merged to the branch mainline in revision 6666.
  • Revision ID: jelmer@jelmer.uk-20170604215456-pbu16psy2m4v1cya
Split bzr branch code out into breezy.bzrbranch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
from . import (
23
23
    bencode,
24
24
    branch,
 
25
    bzrbranch,
25
26
    bzrdir as _mod_bzrdir,
26
27
    config as _mod_config,
27
28
    controldir,
42
43
    vf_repository,
43
44
    vf_search,
44
45
    )
45
 
from .branch import BranchReferenceFormat, BranchWriteLockResult
 
46
from .bzrbranch import BranchReferenceFormat
 
47
from .branch import BranchWriteLockResult
46
48
from .decorators import needs_read_lock, needs_write_lock, only_raises
47
49
from .errors import (
48
50
    NoSuchRevision,
3224
3226
        # usually cheaper in terms of net round trips, as the last-revision and
3225
3227
        # tags info fetched is cached and would be fetched anyway.
3226
3228
        self._ensure_real()
3227
 
        if isinstance(self._custom_format, branch.BranchFormatMetadir):
 
3229
        if isinstance(self._custom_format, bzrbranch.BranchFormatMetadir):
3228
3230
            branch_class = self._custom_format._branch_class()
3229
3231
            heads_to_fetch_impl = branch_class.heads_to_fetch.__func__
3230
3232
            if heads_to_fetch_impl is branch.Branch.heads_to_fetch.__func__: