view hgweb.cgi @ 385:e9e1efd5291c

Fixed problems with extra spaces around tags in .hgtags -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fixed problems with extra spaces around tags in .hgtags manifest hash: 2a40f403d5d7d9c4d39e52fa6edefa74d5797167 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCspTvW7P1GVgWeRoRAg9PAJ9OWdUii+qO+U5ioaAbkFeIROA/7gCdGgau ZP8jmI1h95ZK3KS/QlQMeQ4= =lRFd -----END PGP SIGNATURE-----
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 17 Jun 2005 10:16:31 +0100
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()