b.s.b.SmartServerRequestOpenBranchV3(SmartServerRequestBzrDir) : class documentation

Part of bzrlib.smart.bzrdir View In Hierarchy

No class docstring
Method do_bzrdir_request Open a branch at path and return the reference or format.

Inherited from SmartServerRequestBzrDir:

Method do Open a BzrDir at path, and return self.do_bzrdir_request(*args).
Method _boolean_to_yes_no Undocumented
Method _format_to_capabilities Undocumented
Method _repo_relpath Get the relative path for repository from current_transport.

Inherited from SmartServerRequest (via SmartServerRequestBzrDir):

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_bzrdir_request(self):

Open a branch at path and return the reference or format.

This version introduced in 2.1.

Differences to SmartServerRequestOpenBranchV2:
  • can return 2-element ('nobranch', extra), where 'extra' is a string with an explanation like 'location is a repository'. Previously a 'nobranch' response would never have more than one element.
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.