comparison mercurial/hgweb/__init__.py @ 23415:cdbb85489c41 stable

hook: raise a more specialized HookAbort exception when a hook fails We need to gracefully handle some aborts for pushkey, especially because it leads to a user-facing crash over the wireprotocols. So we need a more specialized exception to catch.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Sat, 29 Nov 2014 19:13:35 -0800
parents f6d41bfc189e
children 37fcfe52c68c
comparison
equal deleted inserted replaced
23414:759202b64f49 23415:cdbb85489c41