Admin/Mercurial/hgwebdir.cgi
changeset 28930 6d677da7b339
parent 28000 ca56bbb99607
child 40385 b70ef70733e8
equal deleted inserted replaced
28929:32831901e1ae 28930:6d677da7b339
     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 # adjust python path if not a system-wide install:
     5 # adjust python path if not a system-wide install:
     6 import sys
     6 import sys
     7 sys.path.insert(0, "/home/isabelle-repository/repos/mercurial-www4/lib64/python2.4/site-packages")
     7 sys.path.insert(0, "/home/isabelle-repository/repos/mercurial-www4/lib64/python2.5/site-packages")
     8 
     8 
     9 # enable importing on demand to reduce startup time
     9 # enable importing on demand to reduce startup time
    10 from mercurial import demandimport; demandimport.enable()
    10 from mercurial import demandimport; demandimport.enable()
    11 
    11 
    12 # Uncomment to send python tracebacks to the browser if an error occurs:
    12 # Uncomment to send python tracebacks to the browser if an error occurs: