Mercurial > hg
view tests/crashgetbundler.py @ 44229:c002d504ff11 stable
Added signature for changeset 7f5410dfc8a6
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Mon, 03 Feb 2020 11:07:34 -0500 |
parents | 2372284d9457 |
children | 6000f5b25c9b |
line wrap: on
line source
from __future__ import absolute_import from mercurial.i18n import _ from mercurial import changegroup, error, extensions def abort(orig, *args, **kwargs): raise error.Abort(_('this is an exercise')) def uisetup(ui): extensions.wrapfunction(changegroup, 'getbundler', abort)