Part of bzrlib
The basic plan is that every branch knows the history of everything that has merged into it. As the first step of a merge, pull, or branch operation we copy history from the source into the destination branch.
Class | RepoFetcher | Pull revisions and texts from one repository to another. |
Class | Inter1and2Helper | Helper for operations that convert data from model 1 and 2 |
Class | TargetRepoKinds | An enum-like set of constants. |
Class | FetchSpecFactory | A helper for building the best fetch spec for a sprout call. |
Function | _new_root_data_stream | Generate a texts substream of synthesised root entries. |
Function | _parent_keys_for_root_version | Get the parent keys for a given root id. |
Used in fetches that do rich-root upgrades.
Parameters | root_keys_to_create | iterable of (root_id, rev_id) pairs describing the root entries to create. |
rev_id_to_root_id_map | dict of known rev_id -> root_id mappings for calculating the parents. If a parent rev_id is not found here then it will be recalculated. | |
parent_map | a parent map for all the revisions in root_keys_to_create. | |
graph | a graph to use instead of repo.get_graph(). |