Mercurial > hg
comparison hgext/churn.py @ 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 | 5a22b2594d96 |
children | f4733654f144 |
comparison
equal
deleted
inserted
replaced
51839:17e2d5c46716 | 51840:1bb71046f5e0 |
---|