Part of bzrlib.vf_repository View In Hierarchy
Known subclasses: bzrlib.vf_repository.InterDifferingSerializer, bzrlib.vf_repository.InterSameDataRepository
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. |
Class Method | is_compatible | Undocumented |
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 |
Class Method | _get_repo_format_to_test | Undocumented |
Inherited from InterRepository:
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 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. |
The content is copied from self.source to self.target.
Parameters | revision_id | if None all content is copied, if NULL_REVISION no content is copied. |
Returns | None. |
Parameters | revision_ids | The start point for the search. |
Returns | A set of revision ids. |
Parameters | revision_id | only return revision ids included by this revision_id. |
revision_ids | return revision ids included by these revision_ids. NoSuchRevision will be raised if any of these revisions are not present. | |
if_present_ids | like revision_ids, but will not cause NoSuchRevision if any of these are absent, instead they will simply not be in the result. This is useful for e.g. finding revisions to fetch for tags, which may reference absent revisions. | |
find_ghosts | If True find missing revisions in deep history rather than just finding the surface difference. | |
Returns | A bzrlib.graph.SearchResult. |
Parameters | revision_ids | if None, all revisions in source are returned. |
if_present_ids | like revision_ids, but if any/all of these are absent no error is raised. |