Mercurial > hg
view tests/crashgetbundler.py @ 50507:d1cab48354bc
rust: in zstd decompression, avoid a useless vec initialization
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Thu, 18 May 2023 17:25:18 +0100 |
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)