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

r1933:7544700f default
r2309:b2f37c70 default
Show More
test-diffdir.out
20 lines | 258 B | text/plain | TextLexer
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 diff -r acd8075edac9 b
mpm@selenic.com
Refactor diffrevs/diffdir into changes...
r536 --- /dev/null
+++ b/b
@@ -0,0 +1,1 @@
+123
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 diff -r acd8075edac9 b
mpm@selenic.com
Refactor diffrevs/diffdir into changes...
r536 --- /dev/null
+++ b/b
@@ -0,0 +1,1 @@
+123
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 diff -r acd8075edac9 a
Thomas Arendsen Hein
Fix diff against an empty file (issue124) and add a test for this.
r1723 --- a/a
+++ b/a
@@ -0,0 +1,1 @@
+foo
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 diff -r acd8075edac9 b
Thomas Arendsen Hein
Fix diff against an empty file (issue124) and add a test for this.
r1723 --- /dev/null
+++ b/b
@@ -0,0 +1,1 @@
+123