( )⚙ D11483 manifestlog: also monitor `00manifestlog.n` when applicable

This is an archive of the discontinued Mercurial Phabricator instance.

manifestlog: also monitor `00manifestlog.n` when applicable
ClosedPublic

Authored by marmoute on Sep 21 2021, 5:51 PM.

Details

Summary

This let the locarepo's file cache detect outdated nodemap docket and reload the
manifestlog after localrepo.invalidate when applicable.

The same problem than issue6554 could affect the Manifest too.

Diff Detail

Repository
rHG Mercurial
Branch
stable
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

marmoute created this revision.Sep 21 2021, 5:51 PM
Alphare added inline comments.
mercurial/localrepo.py
167

Shouldn't this be 00manifest.i?

marmoute added inline comments.Sep 23 2021, 1:35 PM
mercurial/localrepo.py
167

it should :-/ (same for the .n)
Do you want a resent or do you awnt to fix it in-flight ?

Alphare added inline comments.Sep 24 2021, 5:56 AM
mercurial/localrepo.py
167

If you're fixing the other nit it the series I'd rather it be a re-send

marmoute updated this revision to Diff 30402.Sep 24 2021, 12:43 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.