hgweb: transition permissions hooks to modern request type (API)
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. Differential Revision: https://phab.mercurial-scm.org/D2793
Showing
- mercurial/hgweb/common.py 3 additions, 4 deletionsmercurial/hgweb/common.py
- mercurial/hgweb/hgweb_mod.py 2 additions, 2 deletionsmercurial/hgweb/hgweb_mod.py
- mercurial/wireprotoserver.py 2 additions, 3 deletionsmercurial/wireprotoserver.py
- tests/test-http-bundle1.t 1 addition, 1 deletiontests/test-http-bundle1.t
- tests/test-http.t 2 additions, 2 deletionstests/test-http.t
- tests/test-largefiles-wireproto.t 1 addition, 1 deletiontests/test-largefiles-wireproto.t
Loading
Please register or sign in to comment