cgi-bin/repos.cgi
changeset 416 75df587e1bcd
parent 362 3c0e119f5caa
child 474 10ae557fb308
equal deleted inserted replaced
415:f1be8028a4a9 416:75df587e1bcd
     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.append("/usr/local/lib/python2.7/site-packages/")
     7 sys.path.append("/usr/local/lib/python2.7/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:
    13 import cgitb
    13 import cgitb
    14 cgitb.enable()
    14 cgitb.enable()
    15 
    15