view hgweb.py @ 4:adbb5798cacc

added vba-clojure
author Robert McIntyre <rlm@mit.edu>
date Tue, 06 Mar 2012 15:00:37 -0600
parents dfc6cd448c24
children 96dc69a8cf91
line wrap: on
line source
1 #!/usr/bin/env python
3 config = "/home/r/proj/bortreb/hgweb.config"
5 # Uncomment to send python tracebacks to the browser if an error occurs:
6 #import cgitb; cgitb.enable()
8 from mercurial import demandimport; demandimport.enable()
9 from mercurial.hgweb import hgweb, wsgicgi
10 application = hgweb(config)
11 wsgicgi.launch(application)