This is an archive of the discontinued Mercurial Phabricator instance.

hgweb: use web.req instead of req.req
ClosedPublic

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

Details

Summary

We now have access to the modern request type on the
requestcontext instance. Let's access it from there.

While we're here, remove an unused argument from _search().

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.Mar 11 2018, 12:24 AM
durin42 accepted this revision.Mar 12 2018, 5:16 PM
This revision is now accepted and ready to land.Mar 12 2018, 5:16 PM
This revision was automatically updated to reflect the committed changes.