mercurial/wireprotoserver.py
changeset 50416 3b199593fedd
parent 49284 d44e3c45f0e4
child 50420 45c7bada5200
--- a/mercurial/wireprotoserver.py	Sat Apr 13 02:00:20 2019 +0200
+++ b/mercurial/wireprotoserver.py	Sat Apr 13 02:01:26 2019 +0200
@@ -317,7 +317,8 @@
 
     proto.checkperm(wireprotov1server.commands[cmd].permission)
 
-    rsp = wireprotov1server.dispatch(repo, proto, cmd)
+    accesshidden = hgwebcommon.hashiddenaccess(repo, req)
+    rsp = wireprotov1server.dispatch(repo, proto, cmd, accesshidden)
 
     if isinstance(rsp, bytes):
         setresponse(HTTP_OK, HGTYPE, bodybytes=rsp)