This is an archive of the discontinued Mercurial Phabricator instance.

filelog: declare that filelog implements a storage interface
ClosedPublic

Authored by indygreg on Apr 5 2018, 8:51 PM.

Details

Summary

Now that we have a declared interface, let's declare that filelog
implements it.

Tests have been added that confirm the object conforms to the
interface.

The existing interface checks verify there are no extra public
attributes outside the declared interface. filelog has several
extra attributes. So we added a mechanism to suppress this check.
The goal is to modify the filelog class so we can drop this check.

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.Apr 5 2018, 8:51 PM
durin42 accepted this revision.Apr 6 2018, 8:55 PM
This revision is now accepted and ready to land.Apr 6 2018, 8:55 PM
This revision was automatically updated to reflect the committed changes.