b.t.t.InterDummy(repository.InterRepository) : class documentation

Part of bzrlib.tests.test_repository View In Hierarchy

An inter-repository optimised code path for DummyRepository.

This is for use during testing where we use DummyRepository as repositories so that none of the default regsitered inter-repository classes will MATCH.

Static Method is_compatible InterDummy is compatible with DummyRepository.

Inherited from InterRepository:

Method copy_content Make a complete copy of the content in self into destination.
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.
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 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.
@staticmethod
def is_compatible(repo_source, repo_target):
InterDummy is compatible with DummyRepository.
API Documentation for Bazaar, generated by pydoctor at 2021-12-03 00:22:33.