##// END OF EJS Templates
extensions: changed to call extsetup() from extensions.loadall()...
extensions: changed to call extsetup() from extensions.loadall() previously uisetup() was invoked by extensions.loadall(), but extsetup() was by _dispatch(). there's no need to split them because we have nothing to do between uisetup() and extsetup(). this fixes issue1824 indirectly.

File last commit:

r9611:a3d73b3e default
r9660:e0eae93e default
Show More
test-extension.out
95 lines | 2.7 KiB | text/plain | TextLexer
/ tests / test-extension.out
Alexis S. L. Carvalho
install reposetup hook right after loading the extension
r4064 uisetup called
reposetup called for a
Alexis S. L. Carvalho
Try to pass repo.ui to reposetup hooks...
r4074 ui == repo.ui
Alexis S. L. Carvalho
install reposetup hook right after loading the extension
r4064 Foo
uisetup called
reposetup called for a
Alexis S. L. Carvalho
Try to pass repo.ui to reposetup hooks...
r4074 ui == repo.ui
Alexis S. L. Carvalho
install reposetup hook right after loading the extension
r4064 reposetup called for b
Alexis S. L. Carvalho
Try to pass repo.ui to reposetup hooks...
r4074 ui == repo.ui
Adrian Buehlmann
hg.clone: report branch name on update
r9611 updating to branch default
Alexis S. L. Carvalho
install reposetup hook right after loading the extension
r4064 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
uisetup called
Bar
Brendan Cully
extensions: load modules in module/__init__.py form....
r4569 % module/__init__.py-style
uisetup called
reposetup called for a
ui == repo.ui
Foo
Martin Geisler
extensions: load and configure extensions in well-defined phases...
r9410 1) foo imported
1) bar imported
2) foo uisetup
2) bar uisetup
3) foo extsetup
3) bar extsetup
4) foo reposetup
4) bar reposetup
Brendan Cully
Handle extensions with defined but empty cmdtable
r4738 empty extension - empty cmdtable
no commands defined
Dan Villiom Podlaski Christiansen
commands: hide deprecated commands....
r9128 % hg help
Alexis S. L. Carvalho
help: avoid traceback if an extension has only debug commands
r4950 debugextension extension - only debugcommands
no commands defined
Dan Villiom Podlaski Christiansen
commands: hide deprecated commands....
r9128 % hg help --verbose
debugextension extension - only debugcommands
list of commands:
foo:
yet another foo command
enabled extensions:
Martin Geisler
help: use field lists for lists of extensions
r9295 debugextension only debugcommands
Dan Villiom Podlaski Christiansen
commands: hide deprecated commands....
r9128
global options:
Martin Geisler
test-extension: update test output to match a4f6e4427b65
r9481 -R --repository repository root directory or name of overlay bundle file
Dan Villiom Podlaski Christiansen
commands: hide deprecated commands....
r9128 --cwd change working directory
-y --noninteractive do not prompt, assume 'yes' for any required answers
-q --quiet suppress output
-v --verbose enable additional output
--config set/override config option
--debug enable debugging output
--debugger start debugger
--encoding set the charset encoding (default: ascii)
--encodingmode set the charset encoding mode (default: strict)
--traceback print traceback on exception
--time time how long the command takes
--profile print command execution profile
--version output version information and exit
-h --help display help and exit
% hg help --debug
Alexis S. L. Carvalho
help: avoid traceback if an extension has only debug commands
r4950 debugextension extension - only debugcommands
list of commands:
debugfoobar:
yet another debug command
Dan Villiom Podlaski Christiansen
commands: hide deprecated commands....
r9128 foo:
yet another foo command
Alexis S. L. Carvalho
help: avoid traceback if an extension has only debug commands
r4950
Dirkjan Ochtman
show enabled extensions in hg help
r7125 enabled extensions:
Martin Geisler
help: use field lists for lists of extensions
r9295 debugextension only debugcommands
Dirkjan Ochtman
show enabled extensions in hg help
r7125
Alexis S. L. Carvalho
help: avoid traceback if an extension has only debug commands
r4950 global options:
Martin Geisler
test-extension: update test output to match a4f6e4427b65
r9481 -R --repository repository root directory or name of overlay bundle file
Alexis S. L. Carvalho
help: avoid traceback if an extension has only debug commands
r4950 --cwd change working directory
Martin Geisler
commands: wrap short descriptions in 'hg help'...
r8938 -y --noninteractive do not prompt, assume 'yes' for any required answers
Alexis S. L. Carvalho
help: avoid traceback if an extension has only debug commands
r4950 -q --quiet suppress output
-v --verbose enable additional output
--config set/override config option
--debug enable debugging output
--debugger start debugger
--encoding set the charset encoding (default: ascii)
--encodingmode set the charset encoding mode (default: strict)
--traceback print traceback on exception
--time time how long the command takes
--profile print command execution profile
--version output version information and exit
-h --help display help and exit
Benoit Boissinot
Do not try to load extensions twice (issue811)
r7011 % issue811
% show extensions
debugissue811
mq