( )⚙ D8901 hgweb: enable reading styles from resources in frozen binaries

This is an archive of the discontinued Mercurial Phabricator instance.

hgweb: enable reading styles from resources in frozen binaries
ClosedPublic

Authored by martinvonz on Aug 5 2020, 6:05 PM.

Details

Summary

All we need to do to read styles from resources is to pass the
file-like object we get from open_template() on to frommapfile().

This takes the number of failing tests with PyOxidizer from 62 to 54.

Diff Detail

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

Event Timeline

martinvonz created this revision.Aug 5 2020, 6:05 PM
indygreg accepted this revision.Aug 5 2020, 8:40 PM
This revision is now accepted and ready to land.Aug 5 2020, 8:40 PM