view hgweb.cgi @ 398:7ed217cfae9e

Quiet successful test install in run-tests -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Quiet successful test install in run-tests manifest hash: 73bb9dbf52a1c0d7ec50f4f7801c23735b67f94f -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCuL00ywK+sNU5EO8RAvoqAJ0QY538fracpIu1/TgVnqQXlAZKOwCghbMO SLTy7QnYViCHjvYj9oegx/s= =BgHs -----END PGP SIGNATURE-----
author mpm@selenic.com
date Tue, 21 Jun 2005 17:21:56 -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()