##// 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:

r814:0902ffec merge default
r2309:b2f37c70 default
Show More
test-simple-update
24 lines | 237 B | text/plain | TextLexer
/ tests / test-simple-update
Thomas Arendsen Hein
Remove bashisms and use /bin/sh instead of /bin/bash....
r544 #!/bin/sh
mpm@selenic.com
Add a simple testing framework...
r331
Thomas Arendsen Hein
Don't use 'set -x', fix exports, sed and hexdump usage for Solaris.
r800 set -e
mpm@selenic.com
Add a simple testing framework...
r331
mkdir test
cd test
echo foo>foo
hg init
hg addremove
mpm@selenic.com
Update tests to use commit -m and default -u...
r749 hg commit -m "1"
mpm@selenic.com
Add a simple testing framework...
r331 hg verify
mpm@selenic.com
[PATCH] add clone command...
r485 hg clone . ../branch
cd ../branch
mpm@selenic.com
Add a simple testing framework...
r331 hg co
echo bar>>foo
mpm@selenic.com
Update tests to use commit -m and default -u...
r749 hg commit -m "2"
mpm@selenic.com
Add a simple testing framework...
r331
cd ../test
hg pull ../branch
hg verify
hg co
cat foo
mpm@selenic.com
[PATCH] add clone command...
r485 hg manifest