Mercurial > hg
view tests/crashgetbundler.py @ 40384:fc4c598dd4a0
statprof: fix indent level of fp.write() (issue6004)
It was changed at 9d3034348c4f by mistake.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 20 Oct 2018 20:15:48 +0900 |
parents | f3807a135e43 |
children | 2372284d9457 |
line wrap: on
line source
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)