##// END OF EJS Templates
archive: set date to 1980 for very old zip files...
archive: set date to 1980 for very old zip files The zip file format stores the date using "MS-DOS format" which apparently means that they use 1980 as their epoch. Python's zipfile module emits deprecation warnings of this form /usr/lib/python2.6/zipfile.py:1108: DeprecationWarning: struct integer overflow masking is deprecated self.fp.write(zinfo.FileHeader()) /usr/lib/python2.6/zipfile.py:1108: DeprecationWarning: 'H' format requires 0 <= number <= 65535 self.fp.write(zinfo.FileHeader()) /home/mg/src/mercurial-crew/mercurial/archival.py:169: DeprecationWarning: struct integer overflow masking is deprecated self.z.close() /home/mg/src/mercurial-crew/mercurial/archival.py:169: DeprecationWarning: 'H' format requires 0 <= number <= 65535 self.z.close() when it is given such old timestamps. This fixes this by silently clamping the date to 1980.

File last commit:

r11321:40c06bbf default
r12319:381f1312 stable
Show More
test-extension.out
134 lines | 4.1 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
Yuya Nishihara
hgweb: added test case for extension loading phases (issue1824)...
r9661 % hgweb.cgi
1) foo imported
1) bar imported
2) foo uisetup
2) bar uisetup
3) foo extsetup
3) bar extsetup
4) foo reposetup
4) bar reposetup
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
global options:
FUJIWARA Katsunori
help: show value requirement and multiple occurrence of options...
r11321 -R --repository REPO repository root directory or name of overlay bundle
file
--cwd DIR change working directory
-y --noninteractive do not prompt, assume 'yes' for any required answers
-q --quiet suppress output
-v --verbose enable additional output
--config CONFIG [+] set/override config option (use 'section.name=value')
--debug enable debugging output
--debugger start debugger
--encoding ENCODE set the charset encoding (default: ascii)
--encodingmode MODE set the charset encoding mode (default: strict)
--traceback always print a 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
[+] marked option can be specified multiple times
Dan Villiom Podlaski Christiansen
commands: hide deprecated commands....
r9128 % 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
global options:
FUJIWARA Katsunori
help: show value requirement and multiple occurrence of options...
r11321 -R --repository REPO repository root directory or name of overlay bundle
file
--cwd DIR change working directory
-y --noninteractive do not prompt, assume 'yes' for any required answers
-q --quiet suppress output
-v --verbose enable additional output
--config CONFIG [+] set/override config option (use 'section.name=value')
--debug enable debugging output
--debugger start debugger
--encoding ENCODE set the charset encoding (default: ascii)
--encodingmode MODE set the charset encoding mode (default: strict)
--traceback always print a 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
[+] marked option can be specified multiple times
Benoit Boissinot
Do not try to load extensions twice (issue811)
r7011 % issue811
% show extensions
debugissue811
mq
Brodie Rao
dispatch: provide help for disabled extensions and commands...
r10364 % disabled extension commands
'email' is provided by the following extension:
patchbomb command to send changesets as (a series of) patch emails
use "hg help extensions" for information on enabling extensions
hg: unknown command 'qdel'
'qdelete' is provided by the following extension:
mq manage a stack of patches
use "hg help extensions" for information on enabling extensions
hg: unknown command 'churn'
'churn' is provided by the following extension:
churn command to display statistics about repository history
use "hg help extensions" for information on enabling extensions
% disabled extensions
churn extension - command to display statistics about repository history
use "hg help extensions" for information on enabling extensions
patchbomb extension - command to send changesets as (a series of) patch emails
use "hg help extensions" for information on enabling extensions
% broken disabled extension and command
broken extension - (no help text available)
use "hg help extensions" for information on enabling extensions
hg: unknown command 'foo'