##// END OF EJS Templates
remove: rewrite to be ~400x faster, bit more friendly...
remove: rewrite to be ~400x faster, bit more friendly old remove code called localrepo.changes for each file. was very expensive: $ hg --time rm arch>/dev/null Time: real 1066.120 secs (user 1014.450+0.000 sys 18.090+0.000) new code, same files: $ hg --time rm arch>/dev/null Time: real 2.770 secs (user 2.190+0.000 sys 0.580+0.000) also mention "-f" if not removing files. also allow "-f" to forget added files. make test a bit better.

File last commit:

r2182:4e35843b default
r2309:b2f37c70 default
Show More
test-archive.out
38 lines | 1.1 KiB | text/plain | TextLexer
Thomas Arendsen Hein
Corrected test output for deprecated addremove command.
r2182 (the addremove command is deprecated; use add and remove --after instead)
Thomas Arendsen Hein
Added test case for zip/gz/bz2 archive downloads.
r1166 adding foo
Thomas Arendsen Hein
Corrected test output for deprecated addremove command.
r2182 (the addremove command is deprecated; use add and remove --after instead)
Thomas Arendsen Hein
Added test case for zip/gz/bz2 archive downloads.
r1166 adding bar
Thomas Arendsen Hein
Corrected test output for deprecated addremove command.
r2182 (the addremove command is deprecated; use add and remove --after instead)
Thomas Arendsen Hein
Added test case for zip/gz/bz2 archive downloads.
r1166 adding baz/bletch
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
abort: archive prefix contains illegal components
Archive: test.zip
testing: test/.hg_archival.txt OK
testing: test/bar OK
testing: test/baz/bletch OK
testing: test/foo OK
No errors detected in compressed data of test.zip.