This is an archive of the discontinued Mercurial Phabricator instance.

narrow: overwrite readfast in excludeddirmanifestctx
ClosedPublic

Authored by marmoute on Jan 12 2021, 5:40 PM.

Details

Summary

The excludeddirmanifestctx does not have underlying storage (because it is
excluded) so the implementation of the readfast trying to access it crash.
This was reveled while running some cache warning code on narrow repositories.
That code will be introduced further down in the series.

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.Jan 12 2021, 5:40 PM
pulkit accepted this revision.Jan 13 2021, 4:59 AM
This revision is now accepted and ready to land.Jan 13 2021, 4:59 AM
This revision was automatically updated to reflect the committed changes.