23
23
from dulwich.objects import ShaFile, hex_to_sha, sha_to_hex
26
25
from .. import errors as bzr_errors
27
26
from .. import registry, trace
28
28
from ..bzr import btree_index as _mod_btree_index
29
29
from ..bzr import index as _mod_index
30
30
from ..bzr import versionedfile
31
31
from ..transport import FileExists, NoSuchFile, get_transport_from_path
41
34
def get_remote_cache_transport(repository):
42
35
"""Retrieve the transport to use when accessing (unwritable) remote