hgweb.cgi
author mpm@selenic.com
Tue, 14 Jun 2005 17:30:56 -0800
changeset 336 aa6cbde09f72
parent 202 e875a0cf7f3a
child 391 5f65a108a559
permissions -rw-r--r--
Add some more tests -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Add some more tests manifest hash: 0e357a0d32baee877f2c7b6c6a8f7468e4b7f1b5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCr4TQywK+sNU5EO8RAoZ1AJ9lbLIN2uwLWpVOilQs9CkyFIaQ5wCeKToO 1HXJVrlhexgIzwSnBkTBNOo= =UJ+y -----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()