hgweb.cgi
author mpm@selenic.com
Sat, 02 Jul 2005 12:31:32 -0800
changeset 570 2ee819a950aa
parent 391 5f65a108a559
child 2506 d0db3462d568
permissions -rw-r--r--
[PATCH 2/5]: cleaning the template parent management in hgweb -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [PATCH 2/5]: cleaning the template parent management in hgweb From: Goffredo Baroncelli <kreijack@libero.it> hgweb: rename #parent1# and #parent2# to #parent# in the template managment manifest hash: c7da29f029a1c875127989bb6635007a90f8f59c -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCxvmkywK+sNU5EO8RAnREAKCXuVAU054xkYsfQLug3y/u4tpGxQCfdnKA QkX42FSUBN1EwFyzrzC6vs0= =o8VK -----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()