hgext3rd/__init__.py
author Jun Wu <quark@fb.com>
Mon, 18 Sep 2017 16:01:03 -0700
changeset 34276 b90bd9a98c8b
parent 28541 4b81487a01d4
child 43076 2372284d9457
permissions -rw-r--r--
blackbox: set lastui even if ui.log is not called (issue5518) `lastui` decides where (where is the `.hg`) to use if the current `ui` object does not have a `_bbrepo` associated. Previously it only gets set in `ui.log`, which means unless a `ui` with repo associated calls `log` with tracked event, blackbox does not know where to write its log. This patch makes `reposetup` set `lastui` so it so we could log some more events (see test changes). Differential Revision: https://phab.mercurial-scm.org/D655

# name space package to host third party extensions
from __future__ import absolute_import
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)