b.v.StreamSource(object) : class documentation

Part of bzrlib.vf_repository View In Hierarchy

Known subclasses: bzrlib.remote.RemoteStreamSource, bzrlib.repofmt.groupcompress_repo.GroupCHKStreamSource, bzrlib.repofmt.knitpack_repo.KnitPackStreamSource

A source of a stream for fetching between repositories.
Method __init__ Create a StreamSource streaming from from_repository.
Method delta_on_metadata Return True if delta's are permitted on metadata streams.
Method get_stream Undocumented
Method get_stream_for_missing_keys Undocumented
Method inventory_fetch_order Undocumented
Method _fetch_revision_texts Undocumented
Method _generate_root_texts This will be called by get_stream between fetching weave texts and
Method _rich_root_upgrade Undocumented
Method _get_inventory_stream Undocumented
Method _get_simple_inventory_stream Undocumented
Method _get_convertable_inventory_stream Undocumented
Method _stream_invs_as_deltas Return a stream of inventory-deltas for the given rev ids.
def __init__(self, from_repository, to_format):
Create a StreamSource streaming from from_repository.
def delta_on_metadata(self):
Return True if delta's are permitted on metadata streams.

That is on revisions and signatures.

def _fetch_revision_texts(self, revs):
Undocumented
def _generate_root_texts(self, revs):
This will be called by get_stream between fetching weave texts and fetching the inventory weave.
def get_stream(self, search):
Undocumented
def get_stream_for_missing_keys(self, missing_keys):
Undocumented
def inventory_fetch_order(self):
Undocumented
def _rich_root_upgrade(self):
Undocumented
def _get_inventory_stream(self, revision_ids, missing=False):
Undocumented
def _get_simple_inventory_stream(self, revision_ids, missing=False):
Undocumented
def _get_convertable_inventory_stream(self, revision_ids, delta_versus_null=False):
Undocumented
def _stream_invs_as_deltas(self, revision_ids, delta_versus_null=False):
Return a stream of inventory-deltas for the given rev ids.
Parametersrevision_idsThe list of inventories to transmit
delta_versus_nullDon't try to find a minimal delta for this entry, instead compute the delta versus the NULL_REVISION. This effectively streams a complete inventory. Used for stuff like filling in missing parents, etc.
API Documentation for Bazaar, generated by pydoctor at 2019-07-20 00:30:16.