hgext/__init__.py
author Kyle Lippincott <spectral@google.com>
Thu, 20 Feb 2020 15:15:23 -0800
changeset 44368 6392bd7c26a8
parent 43076 2372284d9457
child 48875 6000f5b25c9b
permissions -rw-r--r--
darwin: add another preemptive gui() call when using chg Changeset a89381e04c58 added this gui() call before background forks, and Google's extensions do background forks on essentially every invocation for logging purposes. The crash is reliably (though not 100%) reproducible without this change when running `HGPLAIN=1 chg status` in one of our repos. With this fix, I haven't been able to trigger the crash anymore. Differential Revision: https://phab.mercurial-scm.org/D8141

from __future__ import absolute_import
import pkgutil

__path__ = pkgutil.extend_path(__path__, __name__)