annotate hgweb.cgi @ 306:f06a4a3b86a7
Merge with TAH
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Merge with TAH
manifest hash: 9ce3631dbbe2070e6e0b8a72e197790c911896e2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCqc+mywK+sNU5EO8RAshrAJ4rqQXCJqB1rqgDQ5ujwOhFqqRuuQCdEUsK
wpBCgWEm3xr9mxQ6rLLsihU=
=Ozg9
-----END PGP SIGNATURE-----
author |
mpm@selenic.com |
date |
Fri, 10 Jun 2005 09:36:38 -0800 |
parents |
e875a0cf7f3a |
children |
5f65a108a559 |
rev |
line source |
202
|
1 #!/usr/bin/env python
|
159
|
2 #
|
|
3 # An example CGI script to use hgweb, edit as necessary
|
|
4
|
|
5 import cgitb, os, sys
|
|
6 # sys.path.insert(0, "/path/to/python/lib") # if not a system-wide install
|
|
7 from mercurial import hgweb
|
|
8
|
|
9 h = hgweb.hgweb("/path/to/repo", "repository name")
|
|
10 h.run()
|