( )⚙ D11406 rust: Keep lazily-initialized Changelog and Manifest log on the Repo object

This is an archive of the discontinued Mercurial Phabricator instance.

rust: Keep lazily-initialized Changelog and Manifest log on the Repo object
ClosedPublic

Authored by SimonSapin on Sep 13 2021, 2:13 PM.

Details

Summary

That way if one of them is accessed multiple times it won’t be reopened
from the filesystem.

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.