##// END OF EJS Templates
errors: name arguments to UnknownCommand constructor...
errors: name arguments to UnknownCommand constructor Differential Revision: https://phab.mercurial-scm.org/D9166

File last commit:

r43346:2372284d default
r46272:bb1a988e default
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)