b.p.w.r.InterWeaveRepo(InterSameDataRepository) : class documentation

Part of bzrlib.plugins.weave_fmt.repository View In Hierarchy

Optimised code paths between Weave based repositories.
Static Method is_compatible Be compatible with known Weave formats.
Method copy_content See InterRepository.copy_content().
Method search_missing_revision_ids See InterRepository.search_missing_revision_ids().
Class Method _get_repo_format_to_test Repository format for testing with.

Inherited from InterVersionedFileRepository (via InterSameDataRepository):

Method fetch Fetch the content required to construct revision_id.
Method _walk_to_common_revisions Walk out from revision_ids in source to revisions target has.
Method _present_source_revisions_for Returns set of all revisions in ancestry of revision_ids present in

Inherited from InterRepository (via InterSameDataRepository, InterVersionedFileRepository):

Static Method _same_model True if source and target have the same data representation.
Static Method _assert_same_model Raise an exception if two repositories do not use the same model.

Inherited from InterObject (via InterSameDataRepository, InterVersionedFileRepository, InterRepository):

Method __init__ Construct a default InterObject instance. Please use 'get'.
Class Method get Retrieve a Inter worker object for these objects.
Method lock_read Take out a logical read lock.
Method lock_write Take out a logical write lock.
Class Method register_optimiser Register an InterObject optimiser.
Method unlock Release the locks on source and target.
Class Method unregister_optimiser Unregister an InterObject optimiser.
Method _double_lock Take out two locks, rolling back the first if the second throws.
@classmethod
def _get_repo_format_to_test(self):
Repository format for testing with.

InterSameData can pull from subtree to subtree and from non-subtree to non-subtree, so we test this with the richest repository format.

@staticmethod
def is_compatible(source, target):
Be compatible with known Weave formats.

We don't test for the stores being of specific types because that could lead to confusing results, and there is no need to be overly general.

@needs_write_lock
def copy_content(self, revision_id=None):
See InterRepository.copy_content().
@needs_read_lock
def search_missing_revision_ids(self, revision_id=symbol_versioning.DEPRECATED_PARAMETER, find_ghosts=True, revision_ids=None, if_present_ids=None, limit=None):
See InterRepository.search_missing_revision_ids().
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.