##// END OF EJS Templates
rhg: handle null changelog and manifest revisions...
rhg: handle null changelog and manifest revisions Differential Revision: https://phab.mercurial-scm.org/D11650

File last commit:

r43346:2372284d default
r49012:61ce70fd default
Show More
crashgetbundler.py
12 lines | 287 B | text/x-python | PythonLexer
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)