comparison mercurial/repair.py @ 42157:7755b89cadaf

verify: also check full manifest validity during verify runs Before this changes, `hg verify` only checked if a manifest revision existed and referenced the proper files. However it never checked the manifest revision content itself. Mercurial is expecting manifest entries to be sorted and will crash otherwise. Since `hg verify` did not attempted a full restoration of manifest entry, it could ignore this kind of corruption. This new check significantly increases the cost of a `hg verify` run. This especially affects large repository not using `sparse-revlog`. For now, this is hidden behind the `--full` experimental flag.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 06 Mar 2019 15:06:53 +0100
parents 8c42b4a3d447
children e10b8058da84
comparison
equal deleted inserted replaced
42156:496ac8a02380 42157:7755b89cadaf