view hgweb.cgi @ 295:38919e1c254d

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-----
author mpm@selenic.com
date Wed, 08 Jun 2005 22:03:18 -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()