Function | delta_application_scenarios | Undocumented |
Function | create_texts_for_inv | Undocumented |
Function | apply_inventory_Inventory | Apply delta to basis and return the result. |
Function | apply_inventory_WT | Apply delta to basis and return the result. |
Function | apply_inventory_WT_basis | Apply delta to basis and return the result. |
Function | apply_inventory_Repository_add_inventory_by_delta | Apply delta to basis and return the result. |
Class | TestInventoryUpdates | No class docstring; 3/9 methods documented |
Class | TestDeltaApplication | No class docstring; 3/27 methods documented |
Class | TestInventoryEntry | Undocumented |
Class | TestDescribeChanges | Undocumented |
Class | TestCHKInventory | Undocumented |
Class | TestCHKInventoryExpand | Undocumented |
Class | TestMutableInventoryFromTree | Undocumented |
Function | _create_repo_revisions | Undocumented |
Function | _get_basis_entries | Undocumented |
Function | _populate_different_tree | Put all entries into tree, but at a unique location. |
Parameters | basis | An inventory to be used as the basis. |
delta | The inventory delta to apply: | |
Returns | An inventory resulting from the application. |
This sets the tree state to be basis, and then calls apply_inventory_delta.
Parameters | basis | An inventory to be used as the basis. |
delta | The inventory delta to apply: | |
Returns | An inventory resulting from the application. |
This sets the parent and then calls update_basis_by_delta. It also puts the basis in the repository under both 'basis' and 'result' to allow safety checks made by the WT to succeed, and finally ensures that all items in the delta with a new path are present in the WT before calling update_basis_by_delta.
Parameters | basis | An inventory to be used as the basis. |
delta | The inventory delta to apply: | |
Returns | An inventory resulting from the application. |
This inserts basis as a whole inventory and then uses add_inventory_by_delta to add delta.
Parameters | basis | An inventory to be used as the basis. |
delta | The inventory delta to apply: | |
Returns | An inventory resulting from the application. |