b.s.r.SmartServerRepositoryInsertStream(SmartServerRepositoryInsertStreamLocked) : class documentation

Part of bzrlib.smart.repository View In Hierarchy

Insert a record stream from a RemoteSink into an unlocked repository.

This is the same as SmartServerRepositoryInsertStreamLocked, except it takes no lock_tokens; i.e. it works with an unlocked (or lock-free, e.g. like pack format) repository.

New in 1.13.

Method do_repository_request StreamSink.insert_stream for a remote repository.

Inherited from SmartServerRepositoryInsertStreamLocked:

Method do_insert_stream_request Undocumented
Method do_chunk Called with each body chunk if the request has a streamed body.
Method blocking_byte_stream Undocumented
Method do_end Called when the end of the request has been received.
Method _inserter_thread Undocumented

Inherited from SmartServerRepositoryRequest (via SmartServerRepositoryInsertStreamLocked):

Method do Execute a repository request.
Method recreate_search Recreate a search from its serialised form.
Method recreate_search_from_recipe Recreate a specific revision search (vs a from-tip search).

Inherited from SmartServerRequest (via SmartServerRepositoryInsertStreamLocked, SmartServerRepositoryRequest):

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 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_repository_request(self, repository, resume_tokens):
StreamSink.insert_stream for a remote repository.
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.