This is an archive of the discontinued Mercurial Phabricator instance.

filelog: record what's using attributes
ClosedPublic

Authored by indygreg on Sep 18 2018, 10:34 PM.

Details

Summary

filelog and the file storage interface have some attributes that
ideally shouldn't be there. This commit annotates some of those
attributes with their users so we know where to look when it comes
time to removing them.

This exercise exposed a theme: many attributes are used by LFS,
repo upgrade, verify, and special repo types (like bundlerepo). That
points to missing abstractions on file storage to facilitate these
special needs.

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

indygreg created this revision.Sep 18 2018, 10:34 PM
This revision was automatically updated to reflect the committed changes.