Show More
@@ -350,6 +350,9 b" coreconfigitem('profiling', 'sort'," | |||
|
350 | 350 | coreconfigitem('profiling', 'statformat', |
|
351 | 351 | default='hotpath', |
|
352 | 352 | ) |
|
353 | coreconfigitem('profiling', 'type', | |
|
354 | default='stat', | |
|
355 | ) | |
|
353 | 356 | coreconfigitem('progress', 'assume-tty', |
|
354 | 357 | default=False, |
|
355 | 358 | ) |
@@ -183,7 +183,7 b' class profile(object):' | |||
|
183 | 183 | profiler = encoding.environ.get('HGPROF') |
|
184 | 184 | proffn = None |
|
185 | 185 | if profiler is None: |
|
186 |
profiler = self._ui.config('profiling', 'type' |
|
|
186 | profiler = self._ui.config('profiling', 'type') | |
|
187 | 187 | if profiler not in ('ls', 'stat', 'flame'): |
|
188 | 188 | # try load profiler from extension with the same name |
|
189 | 189 | proffn = _loadprofiler(self._ui, profiler) |
General Comments 0
You need to be logged in to leave comments.
Login now