##// END OF EJS Templates
subrepo: change default path in hgrc of subrepo after cloning...
subrepo: change default path in hgrc of subrepo after cloning Previous behavior was to put in the cloned subrepos the path found in the original main repo. However it isn't valid for relative path and it seems more logical to reference instead the subrepos working copy path of the original main repo.

File last commit:

r9696:8cce2c8a default
r10378:e1401c74 default
Show More
test-archive.out
74 lines | 2.0 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
Benoit Boissinot
fix tests output changed by 8269fe2d48f6
r9696 403 Archive type not allowed: bz2
403 Archive type not allowed: zip
Rocco Rutte
hgweb: Respond with HTTP 403 for disabled archive types instead of 404...
r7029 % bz2 allowed should give 200
200 Script output follows
% zip and tar.gz disallowed should both give 403
Benoit Boissinot
fix tests output changed by 8269fe2d48f6
r9696 403 Archive type not allowed: zip
403 Archive type not allowed: gz
Rocco Rutte
hgweb: Respond with HTTP 403 for disabled archive types instead of 404...
r7029 % zip allowed should give 200
200 Script output follows
% tar.gz and tar.bz2 disallowed should both give 403
Benoit Boissinot
fix tests output changed by 8269fe2d48f6
r9696 403 Archive type not allowed: gz
403 Archive type not allowed: bz2
Rocco Rutte
hgweb: Respond with HTTP 403 for disabled archive types instead of 404...
r7029 % invalid arch type should give 404
Benoit Boissinot
fix tests output changed by 8269fe2d48f6
r9696 404 Unsupported archive type: None
Rocco Rutte
hgweb: Respond with HTTP 403 for disabled archive types instead of 404...
r7029
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
Gilles Moris
archive: add branch and tag informations to the .hg_archival.txt file...
r9614 % test .hg_archival.txt
repo: daa7f7c60e0a224faa4ff77ca41b2760562af264
node: 2c0277f05ed49d1c8328fb9ba92fba7a5ebcb33e
branch: default
latesttag: null
latesttagdistance: 3
repo: daa7f7c60e0a224faa4ff77ca41b2760562af264
node: 2c0277f05ed49d1c8328fb9ba92fba7a5ebcb33e
branch: default
tag: anothertag
tag: mytag
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