##// END OF EJS Templates
ui: cleanup _is_trusted a bit
ui: cleanup _is_trusted a bit

File last commit:

r7528:eadcc075 default
r8141:e40b629b default
Show More
test-archive.out
63 lines | 1.5 KiB | text/plain | TextLexer
Thomas Arendsen Hein
Added test case for zip/gz/bz2 archive downloads.
r1166 adding foo
adding bar
adding baz/bletch
Rocco Rutte
hgweb: Respond with HTTP 403 for disabled archive types instead of 404...
r7029
% gz allowed should give 200
200 Script output follows
% tar.bz2 and zip disallowed should both give 403
403 Forbidden
403 Forbidden
% bz2 allowed should give 200
200 Script output follows
% zip and tar.gz disallowed should both give 403
403 Forbidden
403 Forbidden
% zip allowed should give 200
200 Script output follows
% tar.gz and tar.bz2 disallowed should both give 403
403 Forbidden
403 Forbidden
% invalid arch type should give 404
404 Not Found
Vadim Gelfer
update tests after changing archival code....
r2114 test-archive-TIP/.hg_archival.txt
Thomas Arendsen Hein
Added test case for zip/gz/bz2 archive downloads.
r1166 test-archive-TIP/bar
test-archive-TIP/baz/bletch
test-archive-TIP/foo
Vadim Gelfer
update tests after changing archival code....
r2114 test-archive-TIP/.hg_archival.txt
Thomas Arendsen Hein
Added test case for zip/gz/bz2 archive downloads.
r1166 test-archive-TIP/bar
test-archive-TIP/baz/bletch
test-archive-TIP/foo
Archive: archive.zip
Vadim Gelfer
update tests after changing archival code....
r2114 testing: test-archive-TIP/.hg_archival.txt OK
Thomas Arendsen Hein
Added test case for zip/gz/bz2 archive downloads.
r1166 testing: test-archive-TIP/bar OK
testing: test-archive-TIP/baz/bletch OK
testing: test-archive-TIP/foo OK
No errors detected in compressed data of archive.zip.
Vadim Gelfer
update tests after changing archival code....
r2114 test/.hg_archival.txt
test/bar
test/baz/bletch
test/foo
test/.hg_archival.txt
test/bar
test/foo
test-TIP/.hg_archival.txt
test-TIP/bar
test-TIP/baz/bletch
test-TIP/foo
Patrick Mezard
test-archive: stop checking md5 absolute values...
r4805 True
Vadim Gelfer
update tests after changing archival code....
r2114 abort: archive prefix contains illegal components
Archive: test.zip
testing: test/bar OK
testing: test/baz/bletch OK
testing: test/foo OK
No errors detected in compressed data of test.zip.
Vadim Gelfer
archive: make "hg archive -t XXX -" to write to stdout
r2476 test-TIP/.hg_archival.txt
test-TIP/bar
test-TIP/baz/bletch
test-TIP/foo
Alexis S. L. Carvalho
archive: make the %r escape work.
r4836 rev-0.tar created
Dirkjan Ochtman
cleanly abort on unknown archive type (issue966)
r6019 abort: unknown archive type 'bogus'
Dirkjan Ochtman
better error reporting for hg serve errors in tests
r5924 % server errors
Brendan Cully
archive: abort on empty repository. Fixes #624.
r5061 % empty repo
Matt Mackall
archive: fix bogus error message with no working directory
r7528 abort: no working directory: please specify a revision