Mercurial > hg
view tests/crashgetbundler.py @ 40585:d0a6b2c8f8b6
packaging: add Fedora 29 target
Differential Revision: https://phab.mercurial-scm.org/D5254
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Sun, 11 Nov 2018 14:13:08 -0500 |
parents | f3807a135e43 |
children | 2372284d9457 |
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)