Part of bzrlib.repofmt.knitpack_repo View In Hierarchy
Method | open_pack | Open a pack for the pack we are creating. |
Method | _revision_node_readv | Return the total revisions and the readv's to issue. |
Inherited from KnitPacker:
Method | __init__ | Create a Packer. |
Method | _pack_map_and_index_list | Convert a list of packs to an index pack map and index list. |
Method | _index_contents | Get an iterable of the index contents from a pack_map. |
Method | _copy_nodes | Copy knit nodes between packs with no graph references. |
Method | _do_copy_nodes | Undocumented |
Method | _copy_nodes_graph | Copy knit nodes between packs. |
Method | _do_copy_nodes_graph | Undocumented |
Method | _process_inventory_lines | Use up the inv_lines generator and setup a text key filter. |
Method | _copy_inventory_texts | Copy the inventory texts to the new pack. |
Method | _update_pack_order | Determine how we want our packs to be ordered. |
Method | _copy_revision_texts | Copy revision data to the new pack. |
Method | _get_text_nodes | Undocumented |
Method | _copy_text_texts | Undocumented |
Method | _create_pack_from_packs | Undocumented |
Method | _least_readv_node_readv | Generate request groups for nodes using the least readv's. |
Inherited from Packer (via KnitPacker):
Method | pack | Create a new pack by reading data from other packs. |
Method | _log_copied_texts | Undocumented |
Method | _use_pack | Return True if new_pack should be used. |
This sort places revisions in topological order with the ancestors after the children.
Parameters | revision_nodes | The revision index contents for the packs being incorporated into the new pack. |
Returns | As per _least_readv_node_readv. |