diff mercurial/sslutil.py @ 29782:97bfc2e5fba5

dispatch: set profiling.enabled when profiling is enabled We do this for other global command arguments. We don't for --profile for reasons that are unknown to me. Probably because nobody has needed it. An upcoming patch will introduce a new consumer of the profiling code. It doesn't have access to command line arguments. So let's set the config option during argument processing. We also remove a check for "options['profile']" because it is now redundant.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 14 Aug 2016 16:35:58 -0700
parents 387bdd53c77e
children 799e36749f1a
line wrap: on
line diff