tests/crashgetbundler.py
author Matt Harbison <matt_harbison@yahoo.com>
Sat, 24 Mar 2018 22:10:58 -0400
changeset 37117 a8a0cafcef79
parent 30876 f3807a135e43
child 43076 2372284d9457
permissions -rw-r--r--
test-pathconflicts-merge: stop requiring symlink support The errors from the last time I took a shot at this back in early November have disappeared, so let's just enable this.

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)