Mercurial > hg-stable
view tests/crashgetbundler.py @ 51686:37a079410507 stable tip
rust: bump rust-cpython version to 0.7.2
This version supports Python 3.12 while 0.7.1 did not.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 17 Sep 2024 16:40:24 +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)