hgweb.cgi
author mpm@selenic.com
Sat, 11 Jun 2005 10:10:06 -0800
changeset 311 3b17056b72dc
parent 202 e875a0cf7f3a
child 391 5f65a108a559
permissions -rw-r--r--
fix KeyErrors from reading empty dirstate -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 fix KeyErrors from reading empty dirstate manifest hash: 04a797f1b53e34153c8ea18950a5dd0eefb4694d -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD4DBQFCqyj+ywK+sNU5EO8RAoepAJYp2TjjaMq3l+ZrRfogyvUGCebgAJ9nKPdr nP/Y3F1GvOle58NTIQ6UBA== =0k3O -----END PGP SIGNATURE-----

#!/usr/bin/env python
#
# An example CGI script to use hgweb, edit as necessary

import cgitb, os, sys
# 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()