Mercurial > hg
view tests/crashgetbundler.py @ 47026:20eba5cef2e0
narrow: add more status messages when narrowing
Each of the steps I added status messages for in this patch frequently
take minutes or tens of minutes for our internal users.
It would be nice to also have a progress bar but that will have to
come later.
Differential Revision: https://phab.mercurial-scm.org/D10503
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 20 Apr 2021 11:22:35 -0700 |
parents | 2372284d9457 |
children | 6000f5b25c9b |
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)