b.r.g.GCCHKReconcilePacker(GCCHKPacker) : class documentation

Part of bzrlib.repofmt.groupcompress_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 _copy_inventory_texts Copy the inventory texts to the new pack.
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 GCCHKPacker:

Method _get_progress_stream Undocumented
Method _get_filtered_inv_stream Filter the texts of inventories, to find the chk pages.
Method _get_chk_streams Undocumented
Method _build_vf Build a VersionedFiles instance on top of this group of packs.
Method _build_vfs Build the source and target VersionedFiles.
Method _copy_stream Undocumented
Method _copy_revision_texts Copy revision data to the new pack.
Method _get_chk_vfs_for_copy Undocumented
Method _copy_chk_texts Undocumented
Method _copy_signature_texts Undocumented
Method _create_pack_from_packs Undocumented

Inherited from Packer (via GCCHKPacker):

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 _copy_inventory_texts(self):
Copy the inventory texts to the new pack.

self._revision_keys is used to determine what inventories to copy.

Sets self._text_filter appropriately.

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.