Part of bzrlib.vf_repository View In Hierarchy
Static Method | is_compatible | Undocumented |
Method | fetch | See InterRepository.fetch(). |
Class Method | _get_repo_format_to_test | Undocumented |
Method | _get_trees | Undocumented |
Method | _get_delta_for_revision | Get the best delta and base for this revision. |
Method | _fetch_parent_invs_for_stacking | Find all parent revisions that are absent, but for which the |
Method | _fetch_batch | Fetch across a few revisions. |
Method | _fetch_all_revisions | Fetch everything for the list of revisions. |
Method | _get_basis | Get a revision and tree which exists in the target. |
Inherited from InterVersionedFileRepository:
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. |
Returns | (basis_id, delta) |
This is necessary to preserve correctness when the source is stacked without fallbacks configured. (Note that in cases like upgrade the source may be not have _fallback_repositories even though it is stacked.)
Parameters | revision_ids | The revisions to copy |
basis_id | The revision_id of a tree that must be in cache, used as a basis for delta when no other base is available | |
cache | A cache of RevisionTrees that we can use. | |
Returns | The revision_id of the last converted tree. The RevisionTree for it will be in cache |
Parameters | revision_ids | The list of revisions to fetch. Must be in topological order. |
pb | A ProgressTask | |
Returns | None |
This assumes that first_revision_id is selected for transmission because all other ancestors are already present. If we can't find an ancestor we fall back to NULL_REVISION since we know that is safe.
Returns | (basis_id, basis_tree) |