Part of bzrlib.inventory_delta View In Hierarchy
| Method | __init__ | Create an InventoryDeltaSerializer. |
| Method | delta_to_lines | Return a line sequence for delta_to_new. |
| Method | _serialize_bool | Undocumented |
| Method | _delta_item_to_line | Convert delta_item to a line. |
| Parameters | versioned_root | If True, any root entry that is seen is expected to be versioned, and root entries can have any fileid. |
| tree_references | If True support tree-reference entries. |
Both the versioned_root and tree_references flags must be set via require_flags before calling this.
| Parameters | old_name | A UTF8 revision id for the old inventory. May be NULL_REVISION if there is no older inventory and delta_to_new includes the entire inventory contents. |
| new_name | The version name of the inventory we create with this delta. | |
| delta_to_new | An inventory delta such as Inventory.apply_delta takes. | |
| Returns | The serialized delta as lines. | |