Part of bzrlib.bundle.serializer.v4 View In Hierarchy
Class Method | from_old_args | Create a BundleWriteOperation from old-style arguments |
Method | __init__ | Undocumented |
Method | do_write | Write all data to the bundle |
Method | write_info | Write format info |
Method | write_files | Write bundle records for all revisions of all files |
Method | write_revisions | Write bundle records for all revisions and signatures |
Static Method | get_base_target | Determine the base and target from old-style revision ids |
Method | _add_inventory_mpdiffs_from_serializer | Generate mpdiffs by serializing inventories. |
Method | _add_revision_texts | Undocumented |
Method | _add_mp_records_keys | Add multi-parent diff records to a bundle |
The current repository only has part of the tree shape information in the 'inventories' vf. So we use serializer.write_inventory_to_string to get a 'full' representation of the tree shape, and then generate mpdiffs on that data stream. This stream can then be reconstructed on the other side.