[Bug 5232] New: Internal Server Error if preoutgoing hook fails
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Tue May 10 11:12:24 UTC 2016
https://bz.mercurial-scm.org/show_bug.cgi?id=5232
Bug ID: 5232
Summary: Internal Server Error if preoutgoing hook fails
Product: Mercurial
Version: 3.6.3
Hardware: PC
OS: Windows
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: hgweb
Assignee: bugzilla at selenic.com
Reporter: dominikruf at gmail.com
CC: mercurial-devel at selenic.com
If a preoutgoing hook fails the client no longer gets any information what went
wrong. The client output only says "HTTP-Fehler: 500 (Internal Server Error)"
In the server log I get:
127.0.0.1 - - [10/May/2016 13:04:47] Exception happened during processing
request '/?cmd=getbundle':
Traceback (most recent call last):
File "mercurial\hgweb\server.pyo", line 80, in do_POST
File "mercurial\hgweb\server.pyo", line 73, in do_write
File "mercurial\hgweb\server.pyo", line 141, in do_hgweb
File "mercurial\hgweb\hgweb_mod.pyo", line 281, in run_wsgi
File "mercurial\hgweb\hgweb_mod.pyo", line 321, in _runwsgi
File "mercurial\hgweb\protocol.pyo", line 76, in call
File "mercurial\wireproto.pyo", line 471, in dispatch
File "mercurial\wireproto.pyo", line 649, in getbundle
File "mercurial\exchange.pyo", line 1473, in getbundle
File "mercurial\exchange.pyo", line 1495, in _getbundlechangegrouppart
File "mercurial\changegroup.pyo", line 856, in getlocalchangegroupraw
File "mercurial\changegroup.pyo", line 812, in getsubsetraw
File "mercurial\localrepo.pyo", line 543, in hook
File "mercurial\hook.pyo", line 178, in hook
File "mercurial\hook.pyo", line 222, in runhooks
File "mercurial\hook.pyo", line 152, in _exthook
HookAbort: preoutgoing.test-Hook Beendet mit Status 1
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list