Mercurial > hg
view tests/crashgetbundler.py @ 49464:90512ca6a255 stable
rust-matchers: fix behavior of `IncludeMatcher` with multiple includes
This change adds a test for this fix as well as an additional test case that
was useful in debugging this behavior.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Mon, 29 Aug 2022 16:09:30 +0200 |
parents | 6000f5b25c9b |
children |
line wrap: on
line source
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)