[issue979] GET request with cmd=unbundle causes exception
Maxim Dounin
mdounin at mdounin.ru
Wed Feb 13 03:59:58 UTC 2008
Hello!
On Tue, Feb 12, 2008 at 11:55:46AM -0800, Bryan O'Sullivan wrote:
>Maxim Dounin wrote:
>
>> I think it's a good idea to comment out cgitb by default. Suggested
>> patch attached.
>
>Applied, thanks.
Sorry, missed contrib/hgwebdir.fcgi in previous patch. Additional
patch attached.
Maxim Dounin
-------------- next part --------------
# HG changeset patch
# User Maxim Dounin <mdounin at mdounin.ru>
# Date 1202869624 -10800
# Node ID e1f11b8a1e9e6e1ce18aeaba506c904fcfc98878
# Parent a672df805855279b4dd5a90fb9ae497db794cb45
hgweb: disable cgitb by default in hgwebdir.fcgi too
diff -r a672df805855 -r e1f11b8a1e9e contrib/hgwebdir.fcgi
--- a/contrib/hgwebdir.fcgi Tue Feb 12 23:35:44 2008 +0100
+++ b/contrib/hgwebdir.fcgi Wed Feb 13 05:27:04 2008 +0300
@@ -9,9 +9,9 @@
# enable demandloading 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.
More information about the Mercurial-devel
mailing list