view hgweb.cgi @ 336:aa6cbde09f72

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-----
author mpm@selenic.com
date Tue, 14 Jun 2005 17:30:56 -0800
parents e875a0cf7f3a
children 5f65a108a559
line wrap: on
line source

#!/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()