##// END OF EJS Templates
Test case for #294
Brendan Cully -
r2487:04136373 default
parent child Browse files
Show More
@@ -1,26 +1,31
1 1 #!/bin/sh
2 2 #
3 3 mkdir t
4 4 cd t
5 5 hg init
6 6 echo 0 > a
7 7 echo 0 > b
8 echo 0 > t.h
8 9 mkdir t
9 10 echo 0 > t/x
10 11 hg ci -A -m m -d "1000000 0"
11 12 touch nottracked
12 13 hg locate a
13 14 hg locate NONEXISTENT
14 15 hg locate
15 16 hg rm a
16 17 hg ci -m m -d "1000000 0"
17 18 hg locate a
18 19 hg locate NONEXISTENT
19 20 hg locate
20 21 hg locate -r 0 a
21 22 hg locate -r 0 NONEXISTENT
22 23 hg locate -r 0
23 24 echo % -I/-X with relative path should work
24 25 cd t
25 26 hg locate
26 27 hg locate -I ../t
28 # test issue294
29 cd ..
30 rm -rf t
31 hg locate t
@@ -1,21 +1,27
1 1 adding a
2 2 adding b
3 adding t.h
3 4 adding t/x
4 5 a
5 6 NONEXISTENT: No such file or directory
6 7 a
7 8 b
9 t.h
8 10 t/x
9 11 a: No such file or directory
10 12 NONEXISTENT: No such file or directory
11 13 b
14 t.h
12 15 t/x
13 16 a
14 NONEXISTENT: No such file in rev 9449ae447738
17 NONEXISTENT: No such file in rev ce18e5bc5cd3
15 18 a
16 19 t/x
17 20 b
21 t.h
18 22 % -I/-X with relative path should work
19 23 b
24 t.h
20 25 t/x
21 26 t/x
27 t/x
General Comments 0
You need to be logged in to leave comments. Login now