Mercurial > hg
view hgweb.cgi @ 329:67c19ad374a9
Use common output function show_changeset() for hg heads|history|log|tip.
show_changeset() uses functions from ui.py instead of print.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Mon, 13 Jun 2005 08:49:21 +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()