hgwebdir.cgi
changeset 1064 8d791bea49d4
parent 941 4cf418c2a013
child 1144 8a39df05d2c1
equal deleted inserted replaced
1063:58eefdfb8472 1064:8d791bea49d4
     1 #!/usr/bin/env python
     1 #!/usr/bin/env python
     2 #
     2 #
     3 # An example CGI script to export multiple hgweb repos, edit as necessary
     3 # An example CGI script to export multiple hgweb repos, edit as necessary
     4 
     4 
     5 import cgi, cgitb, os, sys, ConfigParser
     5 import cgitb, sys
     6 cgitb.enable()
     6 cgitb.enable()
     7 
     7 
     8 # sys.path.insert(0, "/path/to/python/lib") # if not a system-wide install
     8 # sys.path.insert(0, "/path/to/python/lib") # if not a system-wide install
     9 from mercurial import hgweb
     9 from mercurial import hgweb
    10 
    10