b.v.InterSameDataRepository(InterVersionedFileRepository) : class documentation

Part of bzrlib.vf_repository View In Hierarchy

Known subclasses: bzrlib.plugins.weave_fmt.repository.InterWeaveRepo, bzrlib.repofmt.knitrepo.InterKnitRepo

Code for converting between repositories that represent the same data.

Data format and model must match for this to work.

Static Method is_compatible Undocumented
Class Method _get_repo_format_to_test Repository format for testing with.

Inherited from InterVersionedFileRepository:

Method fetch Fetch the content required to construct revision_id.
Method search_missing_revision_ids Return the revision ids that source has that target does not.
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 InterVersionedFileRepository):

Method copy_content Make a complete copy of the content in self into destination.
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 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):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.