b.s.b.SmartServerBranchRequest(SmartServerRequest) : class documentation

Part of bzrlib.smart.branch View In Hierarchy

Known subclasses: bzrlib.smart.branch.SmartServerBranchGetConfigFile, bzrlib.smart.branch.SmartServerBranchGetParent, bzrlib.smart.branch.SmartServerBranchGetTagsBytes, bzrlib.smart.branch.SmartServerBranchHeadsToFetch, bzrlib.smart.branch.SmartServerBranchRequestGetStackedOnURL, bzrlib.smart.branch.SmartServerBranchRequestLastRevisionInfo, bzrlib.smart.branch.SmartServerBranchRequestLockWrite, bzrlib.smart.branch.SmartServerBranchRequestUnlock, bzrlib.smart.branch.SmartServerLockedBranchRequest, bzrlib.smart.branch.SmartServerRequestRevisionHistory

Base class for handling common branch request logic.
Method do Execute a request for a branch at path.

Inherited from SmartServerRequest:

Method __init__ Constructor.
Method execute Public entry point to execute this request.
Method do_body Called if the client sends a body with the request.
Method do_chunk Called with each body chunk if the request has a streamed body.
Method do_end Called when the end of the request has been received.
Method setup_jail Undocumented
Method teardown_jail Undocumented
Method translate_client_path Translate a path received from a network client into a local
Method transport_from_client_path Get a backing transport corresponding to the location referred to by
Method _check_enabled Raises DisabledMethod if this method is disabled.
def do(self, path, *args):
Execute a request for a branch at path.

All Branch requests take a path to the branch as their first argument.

If the branch is a branch reference, NotBranchError is raised.

ParameterspathThe path for the repository as received from the client.
ReturnsA SmartServerResponse from self.do_with_branch().
API Documentation for Bazaar, generated by pydoctor at 2019-08-22 00:28:44.