diff hgeditor @ 51840:1bb71046f5e0 stable

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.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 11 Sep 2024 12:02:38 +0200
parents 1aee2ab0f902
children
line wrap: on
line diff