--- a/hgweb.cgi Tue Feb 12 11:35:06 2008 +0100
+++ b/hgweb.cgi Tue Feb 12 19:07:45 2008 +0300
@@ -9,9 +9,9 @@
# enable importing on demand to reduce startup time
from mercurial import demandimport; demandimport.enable()
-# send python tracebacks to the browser if an error occurs:
-import cgitb
-cgitb.enable()
+# Uncomment to send python tracebacks to the browser if an error occurs:
+#import cgitb
+#cgitb.enable()
# If you'd like to serve pages with UTF-8 instead of your default
# locale charset, you can do so by uncommenting the following lines.
--- a/hgwebdir.cgi Tue Feb 12 11:35:06 2008 +0100
+++ b/hgwebdir.cgi Tue Feb 12 19:07:45 2008 +0300
@@ -9,9 +9,9 @@
# enable importing on demand to reduce startup time
from mercurial import demandimport; demandimport.enable()
-# send python tracebacks to the browser if an error occurs:
-import cgitb
-cgitb.enable()
+# Uncomment to send python tracebacks to the browser if an error occurs:
+#import cgitb
+#cgitb.enable()
# If you'd like to serve pages with UTF-8 instead of your default
# locale charset, you can do so by uncommenting the following lines.