view hgweb.cgi @ 567:87f37e61d0db

Add parent revision numbers back to hgweb -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Add parent revision numbers back to hgweb From: Goffredo Baroncelli <kreijack@libero.it> manifest hash: 9f81492df935e94e7c544b071aa9caac3b102190 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCxccYywK+sNU5EO8RAkW7AJ9aXTUZ9JnbZMrxCrcuXozYzkdw/gCfT8IO qnqe966Mvapr2jULeXldQW4= =XiV5 -----END PGP SIGNATURE-----
author mpm@selenic.com
date Fri, 01 Jul 2005 14:43:36 -0800
parents 5f65a108a559
children
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()