Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Path | Packages | |||
---|---|---|---|---|
M | mercurial/extensions.py (16 lines) | |||
M | tests/test-bad-extension.t (1 line) | |||
M | tests/test-extension-timing.t (2 lines) |
Status | Author | Revision | |
---|---|---|---|
Closed | lothiraldan | ||
Closed | lothiraldan | ||
Closed | lothiraldan | ||
Closed | lothiraldan | ||
Closed | lothiraldan | ||
Closed | lothiraldan | ||
Closed | lothiraldan | ||
Closed | lothiraldan |
('configtable', configitems, 'loadconfigtable'), | ('configtable', configitems, 'loadconfigtable'), | ||||
] | ] | ||||
log('- loading configtable attributes\n') | log('- loading configtable attributes\n') | ||||
_loadextra(ui, newindex, earlyextraloaders) | _loadextra(ui, newindex, earlyextraloaders) | ||||
broken = set() | broken = set() | ||||
log('- executing uisetup hooks\n') | log('- executing uisetup hooks\n') | ||||
with util.timedcm('all uisetup') as alluisetupstats: | |||||
for name in _order[newindex:]: | for name in _order[newindex:]: | ||||
log(' - running uisetup for %r\n', name) | log(' - running uisetup for %r\n', name) | ||||
with util.timedcm('uisetup %r', name) as stats: | with util.timedcm('uisetup %r', name) as stats: | ||||
if not _runuisetup(name, ui): | if not _runuisetup(name, ui): | ||||
log(' - the %r extension uisetup failed\n', name) | log(' - the %r extension uisetup failed\n', name) | ||||
broken.add(name) | broken.add(name) | ||||
log(' > uisetup for %r took %s\n', name, stats) | log(' > uisetup for %r took %s\n', name, stats) | ||||
log('> all uisetup took %s\n', alluisetupstats) | |||||
log('- executing extsetup hooks\n') | log('- executing extsetup hooks\n') | ||||
for name in _order[newindex:]: | for name in _order[newindex:]: | ||||
if name in broken: | if name in broken: | ||||
continue | continue | ||||
log(' - running extsetup for %r\n', name) | log(' - running extsetup for %r\n', name) | ||||
with util.timedcm('extsetup %r', name) as stats: | with util.timedcm('extsetup %r', name) as stats: | ||||
if not _runextsetup(name, ui): | if not _runextsetup(name, ui): |
ImportError: No module named badext2 | ImportError: No module named badext2 | ||||
debug.extensions: > loaded 2 extensions, total time * (glob) | debug.extensions: > loaded 2 extensions, total time * (glob) | ||||
debug.extensions: - loading configtable attributes | debug.extensions: - loading configtable attributes | ||||
debug.extensions: - executing uisetup hooks | debug.extensions: - executing uisetup hooks | ||||
debug.extensions: - running uisetup for 'gpg' | debug.extensions: - running uisetup for 'gpg' | ||||
debug.extensions: > uisetup for 'gpg' took * (glob) | debug.extensions: > uisetup for 'gpg' took * (glob) | ||||
debug.extensions: - running uisetup for 'baddocext' | debug.extensions: - running uisetup for 'baddocext' | ||||
debug.extensions: > uisetup for 'baddocext' took * (glob) | debug.extensions: > uisetup for 'baddocext' took * (glob) | ||||
debug.extensions: > all uisetup took * (glob) | |||||
debug.extensions: - executing extsetup hooks | debug.extensions: - executing extsetup hooks | ||||
debug.extensions: - running extsetup for 'gpg' | debug.extensions: - running extsetup for 'gpg' | ||||
debug.extensions: > extsetup for 'gpg' took * (glob) | debug.extensions: > extsetup for 'gpg' took * (glob) | ||||
debug.extensions: - running extsetup for 'baddocext' | debug.extensions: - running extsetup for 'baddocext' | ||||
debug.extensions: > extsetup for 'baddocext' took * (glob) | debug.extensions: > extsetup for 'baddocext' took * (glob) | ||||
debug.extensions: - executing remaining aftercallbacks | debug.extensions: - executing remaining aftercallbacks | ||||
debug.extensions: > remaining aftercallbacks completed in * (glob) | debug.extensions: > remaining aftercallbacks completed in * (glob) | ||||
debug.extensions: - loading extension registration objects | debug.extensions: - loading extension registration objects |
debug.extensions: > loaded 1 extensions, total time * (glob) | debug.extensions: > loaded 1 extensions, total time * (glob) | ||||
debug.extensions: - loading configtable attributes | debug.extensions: - loading configtable attributes | ||||
debug.extensions: - executing uisetup hooks | debug.extensions: - executing uisetup hooks | ||||
debug.extensions: - running uisetup for 'foobar' | debug.extensions: - running uisetup for 'foobar' | ||||
uisetup called [debug] | uisetup called [debug] | ||||
uisetup called | uisetup called | ||||
uisetup called [status] | uisetup called [status] | ||||
debug.extensions: > uisetup for 'foobar' took * (glob) | debug.extensions: > uisetup for 'foobar' took * (glob) | ||||
debug.extensions: > all uisetup took * (glob) | |||||
debug.extensions: - executing extsetup hooks | debug.extensions: - executing extsetup hooks | ||||
debug.extensions: - running extsetup for 'foobar' | debug.extensions: - running extsetup for 'foobar' | ||||
debug.extensions: > extsetup for 'foobar' took * (glob) | debug.extensions: > extsetup for 'foobar' took * (glob) | ||||
debug.extensions: - executing remaining aftercallbacks | debug.extensions: - executing remaining aftercallbacks | ||||
debug.extensions: > remaining aftercallbacks completed in * (glob) | debug.extensions: > remaining aftercallbacks completed in * (glob) | ||||
debug.extensions: - loading extension registration objects | debug.extensions: - loading extension registration objects | ||||
debug.extensions: > extension registration object loading took * (glob) | debug.extensions: > extension registration object loading took * (glob) | ||||
debug.extensions: extension loading complete | debug.extensions: extension loading complete | ||||
debug.extensions: loading additional extensions | debug.extensions: loading additional extensions | ||||
debug.extensions: - processing 1 entries | debug.extensions: - processing 1 entries | ||||
debug.extensions: > loaded 0 extensions, total time * (glob) | debug.extensions: > loaded 0 extensions, total time * (glob) | ||||
debug.extensions: - loading configtable attributes | debug.extensions: - loading configtable attributes | ||||
debug.extensions: - executing uisetup hooks | debug.extensions: - executing uisetup hooks | ||||
debug.extensions: > all uisetup took * (glob) | |||||
debug.extensions: - executing extsetup hooks | debug.extensions: - executing extsetup hooks | ||||
debug.extensions: - executing remaining aftercallbacks | debug.extensions: - executing remaining aftercallbacks | ||||
debug.extensions: > remaining aftercallbacks completed in * (glob) | debug.extensions: > remaining aftercallbacks completed in * (glob) | ||||
debug.extensions: - loading extension registration objects | debug.extensions: - loading extension registration objects | ||||
debug.extensions: > extension registration object loading took * (glob) | debug.extensions: > extension registration object loading took * (glob) | ||||
debug.extensions: extension loading complete | debug.extensions: extension loading complete | ||||
debug.extensions: - executing reposetup hooks | debug.extensions: - executing reposetup hooks | ||||
debug.extensions: - running reposetup for foobar | debug.extensions: - running reposetup for foobar | ||||
reposetup called for a | reposetup called for a | ||||
ui == repo.ui | ui == repo.ui | ||||
debug.extensions: > reposetup for 'foobar' took * (glob) | debug.extensions: > reposetup for 'foobar' took * (glob) | ||||
Foo | Foo | ||||
$ cd .. | $ cd .. | ||||
$ echo 'foobar = !' >> $HGRCPATH | $ echo 'foobar = !' >> $HGRCPATH |