sapling/mercurial/hgweb
Jun Wu bc139eb86b hgweb: add --port-file flag
Summary:
This allows us to specify `-p 0 --port-file X` to get the port assigned in
an atomic way. So there won't be "server failed to start" caused by race
conditions in tests.

Reviewed By: DurhamG

Differential Revision: D6925397

fbshipit-source-id: 5bbb61b7eb2695f0a673afdb0730d2a61827f8b3
2018-04-13 21:51:07 -07:00
..
__init__.py hgweb: add --port-file flag 2018-04-13 21:51:07 -07:00
common.py config: rename allow_push to allow-push 2017-10-19 11:46:41 +02:00
hgweb_mod.py config: rename allowpull to allow-pull 2017-10-19 11:43:19 +02:00
hgwebdir_mod.py hgweb: use native strings consistently for querystring parsing 2017-10-05 14:48:52 -04:00
protocol.py hgweb: fix decodevaluefromheaders to always return a bytes value 2017-10-15 00:43:01 -04:00
request.py hgweb: fill in content-type and content-length as native strings 2017-10-14 11:20:31 -04:00
server.py hgweb: more "http headers are native strs" cleanup 2017-10-15 00:38:33 -04:00
webcommands.py hgweb: update graph function docstring 2017-12-14 21:30:00 +08:00
webutil.py merge with stable 2017-12-19 16:27:24 -05:00
wsgicgi.py hgweb: when constructing or adding to a wsgi environ dict, use native strs 2017-10-05 14:22:02 -04:00