view hgweb.cgi @ 530:c5b8ed036433

Add removing print to TODO -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Add removing print to TODO manifest hash: 42be0c5bc52258bd3399f19257398f02af16c5ee -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCw41HywK+sNU5EO8RAvRIAKCd6o7sSJIXXMZa/i9o1CyIH0GhLgCePs5U 1BkkXUN2RcqfOpDqe6cUIW0= =aOPc -----END PGP SIGNATURE-----
author mpm@selenic.com
date Wed, 29 Jun 2005 22:12:23 -0800
parents 5f65a108a559
children d0db3462d568
line wrap: on
line source

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

import cgitb, os, sys
cgitb.enable()

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