hgweb.cgi
author mpm@selenic.com
Wed, 08 Jun 2005 22:03:18 -0800
changeset 295 38919e1c254d
parent 202 e875a0cf7f3a
child 391 5f65a108a559
permissions -rw-r--r--
Fix hg import fix -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fix hg import fix Spotted by TAH. manifest hash: f8d648c43c090537d3af1a79cc53784357a2f057 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCp9umywK+sNU5EO8RAkovAKCwRyUN7HOEFTnqK8OJ3zVY+CYEHACgtj5f naeGpDbq0haT628rPDbtAB0= =W8Zf -----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()