contrib/hgweb.wsgi
changeset 15476 7c06e9c35f2f
parent 11502 594ca4c60d62
child 26421 4b0fc75f9403
equal deleted inserted replaced
15474:95174c381525 15476:7c06e9c35f2f
     2 # See http://mercurial.selenic.com/wiki/modwsgi for more information
     2 # See http://mercurial.selenic.com/wiki/modwsgi for more information
     3 
     3 
     4 # Path to repo or hgweb config to serve (see 'hg help hgweb')
     4 # Path to repo or hgweb config to serve (see 'hg help hgweb')
     5 config = "/path/to/repo/or/config"
     5 config = "/path/to/repo/or/config"
     6 
     6 
     7 # Uncomment and adjust if Mercurial is not installed system-wide:
     7 # Uncomment and adjust if Mercurial is not installed system-wide
       
     8 # (consult "installed modules" path from 'hg debuginstall'):
     8 #import sys; sys.path.insert(0, "/path/to/python/lib")
     9 #import sys; sys.path.insert(0, "/path/to/python/lib")
     9 
    10 
    10 # Uncomment to send python tracebacks to the browser if an error occurs:
    11 # Uncomment to send python tracebacks to the browser if an error occurs:
    11 #import cgitb; cgitb.enable()
    12 #import cgitb; cgitb.enable()
    12 
    13