##// END OF EJS Templates
Add example CGI script...
mpm@selenic.com -
r159:f9d8620e default
parent child Browse files
Show More
@@ -0,0 +1,10 b''
1 #!/usr/bin/python
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()
General Comments 0
You need to be logged in to leave comments. Login now