comparison mercurial/httpconnection.py @ 32785:37ec8f24d912

profile: introduce a knob to control if the context is actually profiling This is a step toward allowing context where the profiling in enabled withing the context range. This also open the way to kill the dedicated "maybeprofile" context manager and keep only one of 'profile' and 'maybeprofile'.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 09 Jun 2017 11:41:47 +0100
parents 566cb89050b7
children 0407a51b9d8c
comparison
equal deleted inserted replaced
32784:086c1ef0f666 32785:37ec8f24d912