This is an archive of the discontinued Mercurial Phabricator instance.

revlog: decouple caching from addrevision callback for addgroup
ClosedPublic

Authored by joerg.sonnenberger on Jan 21 2021, 12:58 PM.

Details

Summary

For changesets, it is useful to cache the content as it will almost
always be processed afterwards. For manifests on the other hand, the
content is often not used directly as there is a fast path for deltas.
Explicitly disable the cache in exchangev2's manifest handling for that
reason.

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

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.