[PATCH 0 of 15] FastCGI support and some small fixes for hgwebdir

vincent at ricardis.tudelft.nl vincent at ricardis.tudelft.nl
Wed Aug 24 16:49:08 CDT 2005


This add FastCGI support to the repository browser. The globals sys.stdout, sys.stdin, os.environ are replaced with method-local variables to preve
nt the multithreaded fastcgi module from reading the wrong filedescriptor.

hgwebdir shows proper error messages in case a repository is not specified in the config file.

Cheers,
Vincent
-------------- next part --------------
4 files changed, 691 insertions(+), 70 deletions(-)
hgweb.fcgi          |   30 ++
hgwebdir.fcgi       |   32 ++
mercurial/hgweb.py  |  139 ++++++------
mercurial/thfcgi.py |  560 +++++++++++++++++++++++++++++++++++++++++++++++++++


More information about the Mercurial mailing list