##// END OF EJS Templates
util: test fileno() availability in win32 set_binary()...
util: test fileno() availability in win32 set_binary() Fix suggested by Alexander Belchenko <bialix@ukr.net>

File last commit:

r4394:a6436e93 default
r6330:4e836769 default
Show More
test-remove
45 lines | 511 B | text/plain | TextLexer
mpm@selenic.com
Add a simple remove test
r936 #!/bin/sh
hg init a
cd a
echo a > foo
Vadim Gelfer
remove: rewrite to be ~400x faster, bit more friendly...
r2309 hg rm foo
mpm@selenic.com
Add a simple remove test
r936 hg add foo
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m 1 -d "1000000 0"
Vadim Gelfer
make test-remove check some more cases.
r2180 hg remove
mpm@selenic.com
Add a simple remove test
r936 rm foo
hg remove foo
Vadim Gelfer
revert: require --all to revert all files.
r2982 hg revert --all
Vadim Gelfer
make test-remove check some more cases.
r2180 rm foo
hg remove --after
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m 2 -d "1000000 0"
Stephen Darnell
Add -D/--nodates options to hg diff/export that removes dates from diff headers...
r3199 hg export --nodates 0
hg export --nodates 1
TK Soh
change default strftime format for better portability...
r1953 hg log -p -r 0
hg log -p -r 1
mpm@selenic.com
Add a simple remove test
r936
Vadim Gelfer
remove: rewrite to be ~400x faster, bit more friendly...
r2309 echo a > a
hg add a
hg rm a
hg rm -f a
echo b > b
Brendan Cully
Also restore old rm -A behavior for inexact patterns
r4394 mkdir c
echo d > c/d
Vadim Gelfer
remove: rewrite to be ~400x faster, bit more friendly...
r2309 hg ci -A -m 3 -d "1000001 0"
echo c >> b
hg rm b
hg rm -f b
Brendan Cully
Also restore old rm -A behavior for inexact patterns
r4394 hg rm -A c/d
Brendan Cully
Fix rm -A with no patterns, which I just broke.
r4393 hg st
Brendan Cully
Also restore old rm -A behavior for inexact patterns
r4394 cat c/d
Brendan Cully
Fix rm -A with no patterns, which I just broke.
r4393 hg revert c
hg rm -A
hg st
Brendan Cully
Also restore old rm -A behavior for inexact patterns
r4394 hg rm -A c
hg st
rm c/d
Brendan Cully
Fix rm -A with no patterns, which I just broke.
r4393 hg rm -A
hg st
Vadim Gelfer
remove: rewrite to be ~400x faster, bit more friendly...
r2309
mpm@selenic.com
Add a simple remove test
r936 cd ..
hg clone a b