##// END OF EJS Templates
tests: stabilize `test-merge-partial-tool.t` on Windows...
tests: stabilize `test-merge-partial-tool.t` on Windows The test was previously failing because it was opening the shell scripts being used as an executable in a text editor, and problems cascaded from there.

File last commit:

r49730:6000f5b2 default
r52838:4ee2505f default
Show More
crashgetbundler.py
10 lines | 247 B | text/x-python | PythonLexer
/ tests / crashgetbundler.py
Pierre-Yves David
wireproto: properly report server Abort during 'getbundle'...
r30914 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)