diff options
Diffstat (limited to 'mercurial/web/templates')
| -rw-r--r-- | mercurial/web/templates/hgweb.config.j2 | 5 | ||||
| -rw-r--r-- | mercurial/web/templates/hgweb.wsgi.j2 | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mercurial/web/templates/hgweb.config.j2 b/mercurial/web/templates/hgweb.config.j2 index 881f8e4..10d9e53 100644 --- a/mercurial/web/templates/hgweb.config.j2 +++ b/mercurial/web/templates/hgweb.config.j2 @@ -4,3 +4,8 @@ [web] deny_push = * allow_archive = gz bz2 zip +encoding = UTF-8 +style = gitweb + +[extensions] +hgext.highlight = diff --git a/mercurial/web/templates/hgweb.wsgi.j2 b/mercurial/web/templates/hgweb.wsgi.j2 index 16cc9fa..4f11d81 100644 --- a/mercurial/web/templates/hgweb.wsgi.j2 +++ b/mercurial/web/templates/hgweb.wsgi.j2 @@ -9,7 +9,7 @@ config = "{{mercurial_uwsgi_root}}/hgweb.config" #import sys; sys.path.insert(0, "/path/to/python/lib") # Uncomment to send python tracebacks to the browser if an error occurs: -import cgitb; cgitb.enable() +#import cgitb; cgitb.enable() # enable demandloading to reduce startup time from mercurial import demandimport; demandimport.enable() |
