##// END OF EJS Templates
Add test for branch shadowing
Add test for branch shadowing

File last commit:

r4196:1c69c73d default
r4203:aee3d312 default
Show More
test-locate
31 lines | 529 B | text/plain | TextLexer
Benoit Boissinot
fix locate broken since 63799b01985c...
r1622 #!/bin/sh
#
mkdir t
cd t
hg init
echo 0 > a
echo 0 > b
Brendan Cully
Test case for #294
r2487 echo 0 > t.h
Vadim Gelfer
fix -I/-X when relative paths used or in subdir
r2480 mkdir t
echo 0 > t/x
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg ci -A -m m -d "1000000 0"
Benoit Boissinot
fix locate broken since 63799b01985c...
r1622 touch nottracked
Alexis S. L. Carvalho
locate: exit(1) if we didn't print any file
r4196 hg locate a && echo locate succeeded || echo locate failed
hg locate NONEXISTENT && echo locate succeeded || echo locate failed
Benoit Boissinot
fix locate broken since 63799b01985c...
r1622 hg locate
hg rm a
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg ci -m m -d "1000000 0"
Benoit Boissinot
fix locate broken since 63799b01985c...
r1622 hg locate a
hg locate NONEXISTENT
hg locate
hg locate -r 0 a
hg locate -r 0 NONEXISTENT
hg locate -r 0
Vadim Gelfer
fix -I/-X when relative paths used or in subdir
r2480 echo % -I/-X with relative path should work
cd t
hg locate
hg locate -I ../t
Brendan Cully
Test case for #294
r2487 # test issue294
cd ..
Thomas Arendsen Hein
Don't use -f for rm in tests where not needed. Drop /bin/ from /bin/rm.
r3988 rm -r t
Brendan Cully
Test case for #294
r2487 hg locate t