This is an archive of the discontinued Mercurial Phabricator instance.

hgweb: transition permissions hooks to modern request type (API)
ClosedPublic

Authored by indygreg on Mar 11 2018, 12:24 AM.

Details

Summary

We're trying to remove `wsgirequest`. The permissions hooks don't
do anything they can't do with our new request type. So let's
pass that in.

This was the last use of `wsgirequest` in the wire protocol code!

.. api::

hgweb.hgweb_mod.permhooks no longer take a ``wsgirequest`` instance
as an argument.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Mar 11 2018, 12:24 AM
durin42 accepted this revision.Mar 12 2018, 5:13 PM
This revision is now accepted and ready to land.Mar 12 2018, 5:13 PM
This revision was automatically updated to reflect the committed changes.