hgext3rd/__init__.py
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 11 Sep 2024 12:02:38 +0200
branchstable
changeset 51684 1bb71046f5e0
parent 48966 6000f5b25c9b
permissions -rw-r--r--
profiling: improve 3.12 error message for calling lsprof twice Python 3.12 prevent lsprof to be enabled if it is already enabled. This break the use of lsprof in `hg serve` as both the initial `serve` command and the request serving want to profile. The "stat" profiler (the default) does not have this problem, so we focus on improving the error message for now.

# name space package to host third party extensions
import pkgutil

__path__ = pkgutil.extend_path(__path__, __name__)