Add --repository option
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Add --repository option
From: Goffredo Baroncelli <kreijack@libero.it>
manifest hash: 714316cb69ed5fcd981aa1bdb12de499e8348997
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCwuyRywK+sNU5EO8RAmh7AKCtUxqC0KFcMYmoh/voLAbh6BncpwCgrL42
zzSMZAiUg4KEO9BxxlJOcDs=
=eUcM
-----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()