##// END OF EJS Templates
Remove call to non-existent date_parser
Remove call to non-existent date_parser

File last commit:

r391:5f65a108 default
r971:eac9c8ef 0.6c default
Show More
hgweb.cgi
12 lines | 283 B | text/plain | TextLexer
mpm@selenic.com
Call python via env in hgweb.cgi
r202 #!/usr/bin/env python
mpm@selenic.com
Add example CGI script...
r159 #
# An example CGI script to use hgweb, edit as necessary
import cgitb, os, sys
mpm@selenic.com
hgweb: pull cgitb into CGI script example, where it can easily be disabled...
r391 cgitb.enable()
mpm@selenic.com
Add example CGI script...
r159 # sys.path.insert(0, "/path/to/python/lib") # if not a system-wide install
from mercurial import hgweb
h = hgweb.hgweb("/path/to/repo", "repository name")
h.run()