Mercurial > hg > mercurial-crew-with-dirclash
view hgweb.cgi @ 304:38fb7d23b78d
Use vi if $EDITOR is unset.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 10 Jun 2005 07:52:39 +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()