( )⚙ D8874 hgweb: simplify staticfile() now that we always pass it a single directory

This is an archive of the discontinued Mercurial Phabricator instance.

hgweb: simplify staticfile() now that we always pass it a single directory
ClosedPublic

Authored by martinvonz on Aug 4 2020, 2:59 AM.

Details

Summary

I didn't realize this further simplifications enabled by D8786 until
now.

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.