Page MenuHomePhabricator

verify: allow suppressing warnings about extra files

Authored by indygreg on Apr 4 2018, 9:24 PM.



The verifier issues warnings when the set of files in .hg/store
doesn't align with the set of files that are advertised via
repo.file(f).files() for all files seen in ctx.files() changelog

This logic is reasonable for a default implementation. But some
stores may have extra files whose presence is harmless. Or those
stores may not have the same transaction rollback semantics that
unlink files as other stores.

This commit adds support for disabling the warning for orphaned

The simple store extension has been taught to set this flag.

Diff Detail

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

Event Timeline

indygreg created this revision.Apr 4 2018, 9:24 PM
durin42 accepted this revision.Apr 6 2018, 8:29 PM
This revision is now accepted and ready to land.Apr 6 2018, 8:29 PM
This revision was automatically updated to reflect the committed changes.