Part of bzrlib.reconcile View In Hierarchy
Garbage inventories do not affect ancestry queries, and removal is considerably more expensive as there is no separate versioned file for them, so they are not cleaned. In short it is currently a no-op.
In future this may be a good place to hook in annotation cache checking, index recreation etc.
|Method||__init__||Construct a RepoReconciler.|
|Method||_reconcile_steps||Perform the steps to reconcile this repository.|
|Method||_discard_and_save||Discard some packs from the repository.|
Inherited from RepoReconciler:
|Method||_reweave_inventory||Regenerate the inventory weave for the repository from scratch.|
|Method||_new_inv_parents||Lookup ghost-filtered parents for revision_key.|
|Method||_change_inv_parents||Adapt a record stream to reconcile the parents.|
|Method||_setup_steps||Setup the markers we need to control the progress bar.|
|Method||_graph_revision||Load a revision into the revision graph.|
|Method||_check_garbage_inventories||Check for garbage inventories which we cannot trust|
|Method||_parent_is_available||True if parent is a fully available revision|
|Method||_reweave_step||Mark a single step of regeneration complete.|
|Parameters||thorough||perform a thorough check which may take longer but will correct non-data loss issues such as incorrect cached data.|
This removes them from the memory index, saves the in-memory index which makes the newly reconciled pack visible and hides the packs to be discarded, and finally renames the packs being discarded into the obsolete packs directory.
|Parameters||packs||The packs to discard.|