source: configuration/hg/hg.fcgi @ 1463:196613b37795

Revision 1463:196613b37795, 362 bytes checked in by niam, 22 months ago (diff)

[configuration] renamed hg cgi file

  • Property exe set to *
Line 
1#!/usr/bin/env python
2#
3
4import cgitb
5cgitb.enable()
6
7from mercurial import demandimport; demandimport.enable()
8
9from mercurial.hgweb.hgweb_mod import hgweb
10from mercurial.hgweb.request import wsgiapplication
11from flup.server.fcgi import WSGIServer
12
13def application():
14        return hgweb("/var/hg/libdodo/", "libdodo")
15
16WSGIServer(wsgiapplication(application)).run()
Note: See TracBrowser for help on using the repository browser.