##// END OF EJS Templates
issue6528: add a config option to control the fixing on the fly...
issue6528: add a config option to control the fixing on the fly This will allow people who know to be safe to avoid any performance overhead (and other potential issue). Differential Revision: https://phab.mercurial-scm.org/D11271

File last commit:

r43346:2372284d default
r48630:2813d406 5.9rc1 stable
Show More
crashgetbundler.py
12 lines | 287 B | text/x-python | PythonLexer
/ tests / crashgetbundler.py
Pierre-Yves David
wireproto: properly report server Abort during 'getbundle'...
r30914 from __future__ import absolute_import
from mercurial.i18n import _
Augie Fackler
formatting: blacken the codebase...
r43346 from mercurial import changegroup, error, extensions
Pierre-Yves David
wireproto: properly report server Abort during 'getbundle'...
r30914
def abort(orig, *args, **kwargs):
raise error.Abort(_('this is an exercise'))
Augie Fackler
formatting: blacken the codebase...
r43346
Pierre-Yves David
wireproto: properly report server Abort during 'getbundle'...
r30914 def uisetup(ui):
extensions.wrapfunction(changegroup, 'getbundler', abort)