Part of bzrlib.versionedfile View In Hierarchy
Known subclasses: bzrlib.bundle.serializer.v4._MPDiffInventoryGenerator
Method | __init__ | Undocumented |
Method | compute_diffs | Undocumented |
Method | _find_needed_keys | Find the set of keys we need to request. |
Method | _compute_diff | Compute a single mp_diff, and store it in self._diffs |
Method | _process_one_record | Undocumented |
Method | _extract_diffs | Undocumented |
Find the set of keys we need to request. This includes all the original keys passed in, and the non-ghost parents of those keys. :return: (needed_keys, refcounts) needed_keys is the set of all texts we need to extract refcounts is a dict of {key: num_children} letting us know when we no longer need to cache a given parent text