HomePhabricator

upgrade: speed up when we have only nodemap to downgrade

Authored by pulkit.

Description

upgrade: speed up when we have only nodemap to downgrade

Similar to what we do on upgrade, if we have only persistent-nodemap to
downgrade we will just delete the nodemap files and update repository
requirements instead of processing all the revlogs.

After downgrade, we are left with unrequired docket and transaction files which
seems fine but can work on deleting them if someone feels we should.

Differential Revision: https://phab.mercurial-scm.org/D9992

Details

Committed
pulkitFeb 10 2021, 6:38 AM
Differential Revision
D9992: upgrade: speed up when we have only nodemap to downgrade
Parents
rHG636853347e14: upgrade: write nodemap for manifests too
Branches
Unknown
Tags
Unknown