( )⚙ D7419 help: port to ResourceReader API

This is an archive of the discontinued Mercurial Phabricator instance.

help: port to ResourceReader API
Changes PlannedPublic

Authored by indygreg on Nov 14 2019, 10:58 PM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

Previous commits introduced a mechanism to obtain an
importlib.abc.ResourceReader for Mercurial resource data.

This commit ports I/O in the help system to use this API.
By doing so, we abstract I/O away from the help system and
allow help files to be served from something that isn't
a traditional filesystem.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

indygreg created this revision.Nov 14 2019, 10:58 PM
indygreg planned changes to this revision.Nov 14 2019, 11:03 PM

I have other patches to attempt to do similar things for templating and rc.d files if there is interest in reviving this series.