view hgext3rd/__init__.py @ 50687:82cf392c99f6 stable

re2: exit `_checkre2` early if calling it is useless If we already know if re2 is supported there is no need to run the check again. Stricly speaking we don't call it twice, but this seems a simple enough safeguard to include in this series.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 17 Jun 2023 04:02:25 +0200
parents 6000f5b25c9b
children f4733654f144
line wrap: on
line source

# name space package to host third party extensions
import pkgutil

__path__ = pkgutil.extend_path(__path__, __name__)