2006-01-16 17:51:09 +03:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
mkdir t
|
|
|
|
cd t
|
|
|
|
hg init
|
|
|
|
echo 0 > a
|
|
|
|
echo 0 > b
|
2006-06-23 10:10:06 +04:00
|
|
|
echo 0 > t.h
|
2006-06-22 04:30:31 +04:00
|
|
|
mkdir t
|
|
|
|
echo 0 > t/x
|
2006-03-13 15:05:41 +03:00
|
|
|
hg ci -A -m m -d "1000000 0"
|
2006-01-16 17:51:09 +03:00
|
|
|
touch nottracked
|
|
|
|
hg locate a
|
|
|
|
hg locate NONEXISTENT
|
|
|
|
hg locate
|
|
|
|
hg rm a
|
2006-03-13 15:05:41 +03:00
|
|
|
hg ci -m m -d "1000000 0"
|
2006-01-16 17:51:09 +03:00
|
|
|
hg locate a
|
|
|
|
hg locate NONEXISTENT
|
|
|
|
hg locate
|
|
|
|
hg locate -r 0 a
|
|
|
|
hg locate -r 0 NONEXISTENT
|
|
|
|
hg locate -r 0
|
2006-06-22 04:30:31 +04:00
|
|
|
echo % -I/-X with relative path should work
|
|
|
|
cd t
|
|
|
|
hg locate
|
|
|
|
hg locate -I ../t
|
2006-06-23 10:10:06 +04:00
|
|
|
# test issue294
|
|
|
|
cd ..
|
|
|
|
rm -rf t
|
|
|
|
hg locate t
|