##// END OF EJS Templates
hidden: add support to explicitly access hidden changesets via HTTP...
Manuel Jacob -
r51312:3b199593 default
parent child Browse files
Show More
@@ -317,7 +317,8 b' def _callhttp(repo, req, res, proto, cmd'
317
317
318 proto.checkperm(wireprotov1server.commands[cmd].permission)
318 proto.checkperm(wireprotov1server.commands[cmd].permission)
319
319
320 rsp = wireprotov1server.dispatch(repo, proto, cmd)
320 accesshidden = hgwebcommon.hashiddenaccess(repo, req)
321 rsp = wireprotov1server.dispatch(repo, proto, cmd, accesshidden)
321
322
322 if isinstance(rsp, bytes):
323 if isinstance(rsp, bytes):
323 setresponse(HTTP_OK, HGTYPE, bodybytes=rsp)
324 setresponse(HTTP_OK, HGTYPE, bodybytes=rsp)
General Comments 0
You need to be logged in to leave comments. Login now