changeset 34412 | 83dfbda40e67 |
parent 34410 | fecea78ff2af |
child 36400 | 7b86aa31b004 |
--- a/mercurial/profiling.py Fri Jun 30 03:43:57 2017 +0200 +++ b/mercurial/profiling.py Fri Jun 30 03:44:00 2017 +0200 @@ -183,7 +183,7 @@ profiler = encoding.environ.get('HGPROF') proffn = None if profiler is None: - profiler = self._ui.config('profiling', 'type', default='stat') + profiler = self._ui.config('profiling', 'type') if profiler not in ('ls', 'stat', 'flame'): # try load profiler from extension with the same name proffn = _loadprofiler(self._ui, profiler)