hgweb.cgi
author mpm@selenic.com
Thu, 30 Jun 2005 23:44:49 -0800
changeset 548 e2e963e255fd
parent 391 5f65a108a559
child 2506 d0db3462d568
permissions -rw-r--r--
Fix braindamage in repo.changes -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fix braindamage in repo.changes manifest hash: d34a5d36fde0ecb444ea3a5b156bea0bff51554d -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCxPRxywK+sNU5EO8RAh/vAJ0buHjZ7w4Y2I6l9FnHl0prmTURrgCbBqOU cJ6wUXXPaRmQJS4ECFPCZcE= =WMC4 -----END PGP SIGNATURE-----

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