comparison mercurial/byterange.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 032c4c2f802a
children 0fa781320203
comparison
equal deleted inserted replaced
32784:086c1ef0f666 32785:37ec8f24d912