[PATCH] Add --traceback option
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[PATCH] Add --traceback option
From: Bryan O'Sullivan <bos@serpentine.com>
Add --traceback option, to force printing tracebacks on top-level exceptions.
manifest hash: 4347f42205b8b23835424b4e4100860ff2834b95
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCwx7GywK+sNU5EO8RAgS8AKCmJAvTMGNJYYIW9eTI3RAqJZMfYACfS/rl
Hn1Ukml5D1fdSvyehH2G080=
=eLJO
-----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()