Mercurial > hg
view hgweb.cgi @ 288:97c87ac6d7a4
commit: edit text fixups
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
commit: edit text fixups
if given text, don't call editor
if editor returned only whitespace, abort
manifest hash: 7b6158a37568d91be1443b487d0a2cea1ba55dd3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCp4zXywK+sNU5EO8RAqCrAJ921nNgI/akM8oacXewkIYdxaoiAgCffOP5
UOIl4GzvkOkcqd5YFS83pa8=
=seZT
-----END PGP SIGNATURE-----
author | mpm@selenic.com |
---|---|
date | Wed, 08 Jun 2005 16:27:03 -0800 |
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()