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

r1612:0d36e3d7 default
r2309:b2f37c70 default
Show More
test-hgignore.out
36 lines | 344 B | text/plain | TextLexer
/ tests / test-hgignore.out
Benoit Boissinot
add a test for hgignore
r1478 --
A dir/b.o
? a.c
? a.o
? dir/c.o
? syntax
--
Thomas Arendsen Hein
Adjusted test output to match new hgignore error messages.
r1612 abort: .hgignore: invalid pattern (relre): *.o
Benoit Boissinot
add a test for hgignore
r1478 --
A dir/b.o
? .hgignore
? a.c
? syntax
--
Thomas Arendsen Hein
Adjusted test output to match new hgignore error messages.
r1612 .hgignore: ignoring invalid syntax 'invalid'
Benoit Boissinot
add a test for hgignore
r1478 A dir/b.o
? .hgignore
? a.c
? a.o
? dir/c.o
? syntax
--
A dir/b.o
? .hgignore
? a.c
? syntax
--
A dir/b.o
? .hgignore
? a.c
? a.o
? dir/c.o
--
A dir/b.o
Benoit Boissinot
fix a bug in dirstate.changes when cwd != repo.root...
r1491 --
A b.o