b.remote : module documentation

Part of bzrlib

No module docstring
Function response_tuple_to_repo_format Convert a response tuple describing a repository format to a format.
Class RemoteBzrDirFormat Format representing bzrdirs accessed via a smart server
Class RemoteBzrDir Control directory on a remote server, accessed via bzr:// or similar.
Class RemoteRepositoryFormat Format for repositories accessed over a _SmartClient.
Class RemoteRepository Repository accessed over rpc.
Class RemoteStreamSink No class docstring; 2/4 methods documented
Class RemoteStreamSource Stream data from a remote server.
Class RemoteBranchLockableFiles A 'LockableFiles' implementation that talks to a smart server.
Class RemoteBranchFormat Undocumented
Class RemoteBranch Branch stored on a server accessed by HPSS RPC.
Class RemoteConfig A Config that reads and writes from smart verbs.
Class RemoteBranchConfig A RemoteConfig for Branches.
Class RemoteBzrDirConfig A RemoteConfig for BzrDirs.
Class _RpcHelper Mixin class that helps with issuing RPCs.
Function _extract_tar Extract all the contents of a tarfile object.
Function _translate_error Translate an ErrorFromSmartServer into a more useful error.
Function _translate_error_without_context Translate any ErrorFromSmartServer values that don't require context
def response_tuple_to_repo_format(response):
Convert a response tuple describing a repository format to a format.
def _extract_tar(tar, to_dir):
Extract all the contents of a tarfile object.

A replacement for extractall, which is not present in python2.4

def _translate_error(err, **context):
Translate an ErrorFromSmartServer into a more useful error.

Possible context keys:
  • branch
  • repository
  • bzrdir
  • token
  • other_branch
  • path

If the error from the server doesn't match a known pattern, then UnknownErrorFromSmartServer is raised.

def _translate_error_without_context(err):
Translate any ErrorFromSmartServer values that don't require context
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.