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
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

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.