view hgweb.cgi @ 526:55af04e26bad

show connect message on push -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 show connect message on push manifest hash: 3edbff798a71719c91890b9ab5fda5c2bd64f256 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCwx10ywK+sNU5EO8RAv0uAJsGMalwZ2aEElzZ8io5zlM/DjwqJACglVLb 7KXzzHdXfKGXOr00gUV4mvc= =sfeK -----END PGP SIGNATURE-----
author mpm@selenic.com
date Wed, 29 Jun 2005 14:15:16 -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()