Show More
@@ -295,15 +295,17 b' def loadall(ui, whitelist=None):' | |||||
295 | log('> all uisetup took %s\n', alluisetupstats) |
|
295 | log('> all uisetup took %s\n', alluisetupstats) | |
296 |
|
296 | |||
297 | log('- executing extsetup hooks\n') |
|
297 | log('- executing extsetup hooks\n') | |
298 | for name in _order[newindex:]: |
|
298 | with util.timedcm('all extsetup') as allextetupstats: | |
299 |
|
|
299 | for name in _order[newindex:]: | |
300 |
|
|
300 | if name in broken: | |
301 | log(' - running extsetup for %r\n', name) |
|
301 | continue | |
302 | with util.timedcm('extsetup %r', name) as stats: |
|
302 | log(' - running extsetup for %r\n', name) | |
303 | if not _runextsetup(name, ui): |
|
303 | with util.timedcm('extsetup %r', name) as stats: | |
304 | log(' - the %r extension extsetup failed\n', name) |
|
304 | if not _runextsetup(name, ui): | |
305 | broken.add(name) |
|
305 | log(' - the %r extension extsetup failed\n', name) | |
306 | log(' > extsetup for %r took %s\n', name, stats) |
|
306 | broken.add(name) | |
|
307 | log(' > extsetup for %r took %s\n', name, stats) | |||
|
308 | log('> all extsetup took %s\n', allextetupstats) | |||
307 |
|
309 | |||
308 | for name in broken: |
|
310 | for name in broken: | |
309 | log(' - disabling broken %r extension\n', name) |
|
311 | log(' - disabling broken %r extension\n', name) |
@@ -117,6 +117,7 b' show traceback for ImportError of hgext.' | |||||
117 | debug.extensions: > extsetup for 'gpg' took * (glob) |
|
117 | debug.extensions: > extsetup for 'gpg' took * (glob) | |
118 | debug.extensions: - running extsetup for 'baddocext' |
|
118 | debug.extensions: - running extsetup for 'baddocext' | |
119 | debug.extensions: > extsetup for 'baddocext' took * (glob) |
|
119 | debug.extensions: > extsetup for 'baddocext' took * (glob) | |
|
120 | debug.extensions: > all extsetup took * (glob) | |||
120 | debug.extensions: - executing remaining aftercallbacks |
|
121 | debug.extensions: - executing remaining aftercallbacks | |
121 | debug.extensions: > remaining aftercallbacks completed in * (glob) |
|
122 | debug.extensions: > remaining aftercallbacks completed in * (glob) | |
122 | debug.extensions: - loading extension registration objects |
|
123 | debug.extensions: - loading extension registration objects |
@@ -63,6 +63,7 b' Test extension setup timings' | |||||
63 | debug.extensions: - executing extsetup hooks |
|
63 | debug.extensions: - executing extsetup hooks | |
64 | debug.extensions: - running extsetup for 'foobar' |
|
64 | debug.extensions: - running extsetup for 'foobar' | |
65 | debug.extensions: > extsetup for 'foobar' took * (glob) |
|
65 | debug.extensions: > extsetup for 'foobar' took * (glob) | |
|
66 | debug.extensions: > all extsetup took * (glob) | |||
66 | debug.extensions: - executing remaining aftercallbacks |
|
67 | debug.extensions: - executing remaining aftercallbacks | |
67 | debug.extensions: > remaining aftercallbacks completed in * (glob) |
|
68 | debug.extensions: > remaining aftercallbacks completed in * (glob) | |
68 | debug.extensions: - loading extension registration objects |
|
69 | debug.extensions: - loading extension registration objects | |
@@ -75,6 +76,7 b' Test extension setup timings' | |||||
75 | debug.extensions: - executing uisetup hooks |
|
76 | debug.extensions: - executing uisetup hooks | |
76 | debug.extensions: > all uisetup took * (glob) |
|
77 | debug.extensions: > all uisetup took * (glob) | |
77 | debug.extensions: - executing extsetup hooks |
|
78 | debug.extensions: - executing extsetup hooks | |
|
79 | debug.extensions: > all extsetup took * (glob) | |||
78 | debug.extensions: - executing remaining aftercallbacks |
|
80 | debug.extensions: - executing remaining aftercallbacks | |
79 | debug.extensions: > remaining aftercallbacks completed in * (glob) |
|
81 | debug.extensions: > remaining aftercallbacks completed in * (glob) | |
80 | debug.extensions: - loading extension registration objects |
|
82 | debug.extensions: - loading extension registration objects |
General Comments 0
You need to be logged in to leave comments.
Login now