##// END OF EJS Templates
git patch: create empty added files
git patch: create empty added files

File last commit:

r2487:04136373 default
r3588:45574a22 default
Show More
test-locate
31 lines | 436 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
hg locate a
hg locate NONEXISTENT
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 ..
rm -rf t
hg locate t