tests/crashgetbundler.py
author Augie Fackler <augie@google.com>
Sun, 23 Apr 2017 09:38:10 -0400
branchstable
changeset 32066 40cf693fc07d
parent 30876 f3807a135e43
child 43076 2372284d9457
permissions -rw-r--r--
tests: pass only one file at a time to tail(1) It looks like the verison on Solaris only tails one file at a time.

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)