hgext/__init__.py
author Martin von Zweigbergk <martinvonz@google.com>
Mon, 07 Jan 2019 23:55:26 -0800
changeset 41143 8cf92ca92bfe
parent 28450 155e3308289c
child 43076 2372284d9457
permissions -rw-r--r--
progress: write ui.progress() in terms of ui.makeprogress() I think ui.makeprogress() should be the preferred interface and we should deprecate ui.progress(). All in-core callers already use ui.makeprogress(). Moving the logic to the scmutil.progress() will let us make further improvements. This seems to have sped up `hg perfprogress` from 1.92 s to 1.85 s, perhaps because we now skip the indirection of updating the progress bar via ui.progress(). Differential Revision: https://phab.mercurial-scm.org/D5527

from __future__ import absolute_import
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)