Mercurial > hg
comparison contrib/hgwebdir.fcgi @ 6085:e1f11b8a1e9e
hgweb: disable cgitb by default in hgwebdir.fcgi too
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 13 Feb 2008 05:27:04 +0300 |
parents | b913d3aacddc |
children | 50a277e6ceae |
comparison
equal
deleted
inserted
replaced
6084:a672df805855 | 6085:e1f11b8a1e9e |
---|---|
7 #sys.path.insert(0, "/path/to/python/lib") | 7 #sys.path.insert(0, "/path/to/python/lib") |
8 | 8 |
9 # enable demandloading to reduce startup time | 9 # enable demandloading to reduce startup time |
10 from mercurial import demandimport; demandimport.enable() | 10 from mercurial import demandimport; demandimport.enable() |
11 | 11 |
12 # 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 |
16 # If you'd like to serve pages with UTF-8 instead of your default | 16 # If you'd like to serve pages with UTF-8 instead of your default |
17 # locale charset, you can do so by uncommenting the following lines. | 17 # locale charset, you can do so by uncommenting the following lines. |
18 # Note that this will cause your .hgrc files to be interpreted in | 18 # Note that this will cause your .hgrc files to be interpreted in |
19 # UTF-8 and all your repo files to be displayed using UTF-8. | 19 # UTF-8 and all your repo files to be displayed using UTF-8. |