tests/crashgetbundler.py
author Boris Feld <boris.feld@octobus.net>
Tue, 17 Oct 2017 15:54:05 +0200
changeset 34869 196548113ddd
parent 30876 f3807a135e43
child 43076 2372284d9457
permissions -rw-r--r--
config: rename stabilization.bundle-obsmarker We want to get rid of stabilization.* configuration, back out to the old configuration 'evolution.bundle-obsmarker'. Differential Revision: https://phab.mercurial-scm.org/D1152

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)