This is an archive of the discontinued Mercurial Phabricator instance.

nodemap: test various corruption scenario for the persistent nodemap
ClosedPublic

Authored by marmoute on Apr 16 2021, 12:08 PM.

Details

Summary

Corruption can happens in the wild, either because some of our code is buggy or
because repository were shared/transfered in a strange manners.

Currently one of the corruption case (not enough data) lead to a crash. We add
explicit tests for theses cases.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

marmoute created this revision.Apr 16 2021, 12:08 PM
pulkit accepted this revision.Apr 17 2021, 4:47 PM
This revision is now accepted and ready to land.Apr 17 2021, 4:47 PM