view hgweb.cgi @ 371:6e3436082697

hg push: "default-push" default target path -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hg push: "default-push" default target path manifest hash: 368f3a073e172272bac06bf5b2ace78f03ffd3bf -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCsPeJywK+sNU5EO8RAuNZAKChSFEUCILHmRJmj3/7EDij3RK31gCdF2qF vQ8+72bbEPmxa3HOTdNliu0= =Nyi+ -----END PGP SIGNATURE-----
author mpm@selenic.com
date Wed, 15 Jun 2005 19:52:41 -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()