b.r.k.KnitReconcilePacker(KnitPacker) : class documentation

Part of bzrlib.repofmt.knitpack_repo View In Hierarchy

A packer which regenerates indices etc as it copies.

This is used by bzr reconcile to cause parent text pointers to be regenerated.

Method __init__ Create a Packer.
Method _process_inventory_lines Generate a text key reference map rather for reconciling with.
Method _copy_text_texts generate what texts we should have and then copy.
Method _use_pack Override _use_pack to check for reconcile having changed content.

Inherited from KnitPacker:

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 _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 _create_pack_from_packs Undocumented
Method _least_readv_node_readv Generate request groups for nodes using the least readv's.
Method _revision_node_readv Return the total revisions and the readv's to issue.

Inherited from Packer (via KnitPacker):

Method pack Create a new pack by reading data from other packs.
Method open_pack Open a pack for the pack we are creating.
Method _log_copied_texts Undocumented
def __init__(self, *args, **kwargs):
Create a Packer.
Parameterspack_collectionA RepositoryPackCollection object where the new pack is being written to.
packsThe packs to combine.
suffixThe suffix to use on the temporary files for the pack.
revision_idsRevision ids to limit the pack to.
reload_funcA function to call if a pack file/index goes missing. The side effect of calling this function should be to update self.packs. See also AggregateIndex
def _process_inventory_lines(self, inv_lines):
Generate a text key reference map rather for reconciling with.
def _copy_text_texts(self):
generate what texts we should have and then copy.
def _use_pack(self, new_pack):
Override _use_pack to check for reconcile having changed content.
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.