hgweb.cgi
author mpm@selenic.com
Sun, 05 Jun 2005 10:42:52 -0800
changeset 261 3dae0296551d
parent 202 e875a0cf7f3a
child 391 5f65a108a559
permissions -rw-r--r--
Update README -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Update README manifest hash: 6c869ba7478b4fead8cffa88bfb704a03ec918b3 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCo0esywK+sNU5EO8RAtEYAJ4r+9tCMQKO0vkRx+gWolO7p5iXhwCfbKf5 41ghEeWPQrFXPv2GMruR7t0= =o1eg -----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()