Page MenuHomePhabricator

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

Authored by marmoute on Tue, Sep 21, 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
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.Tue, Sep 21, 5:51 PM
Alphare added inline comments.
mercurial/localrepo.py
167

Shouldn't this be 00manifest.i?

marmoute added inline comments.Thu, Sep 23, 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.Fri, Sep 24, 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.Fri, Sep 24, 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.