create .hg/hgrc with [paths] default entry only if source was given on hg init.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
create .hg/hgrc with [paths] default entry only if source was given on hg init.
manifest hash: 8229e52ba4d3a6be51e053986230d195cff78966
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCstisW7P1GVgWeRoRAqaVAJ0SK+3Sjki5OD61bCZj1HEo5hYcsQCfRV0z
MJpYg9kiWJg8a4CzASoa+Hs=
=Ql0q
-----END PGP SIGNATURE-----
#!/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()