Part of bzrlib.vf_repository View In Hierarchy
Known subclasses: bzrlib.remote.RemoteStreamSink
This interface handles the complexity of reserialising inventories and revisions from different formats, and allows unidirectional insertion into stacked repositories without looking for the missing basis parents beforehand.
| Method | __init__ | Undocumented |
| Method | insert_stream | Insert a stream's content into the target repository. |
| Method | insert_stream_without_locking | Insert a stream's content into the target repository. |
| Method | finished | Undocumented |
| Method | _extract_and_insert_inventory_deltas | Undocumented |
| Method | _extract_and_insert_inventories | Generate a new inventory versionedfile in target, converting data. |
| Method | _extract_and_insert_revisions | Undocumented |
| Parameters | src_format | a bzr repository format. |
| Returns | a list of resume tokens and an iterable of keys additional items required before the insertion can be completed. | |
This assumes that you already have a locked repository and an active write group.
| Parameters | src_format | a bzr repository format. |
| is_resume | Passed down to get_missing_parent_inventories to indicate if we should be checking for missing texts at the same time. | |
| Returns | A set of keys that are missing. | |