comparison tests/test-locate @ 2480:519a1011db91

fix -I/-X when relative paths used or in subdir
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Wed, 21 Jun 2006 17:30:31 -0700
parents 7544700fd931
children 041363739ca8
comparison
equal deleted inserted replaced
2479:10ec8039e1d8 2480:519a1011db91
3 mkdir t 3 mkdir t
4 cd t 4 cd t
5 hg init 5 hg init
6 echo 0 > a 6 echo 0 > a
7 echo 0 > b 7 echo 0 > b
8 mkdir t
9 echo 0 > t/x
8 hg ci -A -m m -d "1000000 0" 10 hg ci -A -m m -d "1000000 0"
9 touch nottracked 11 touch nottracked
10 hg locate a 12 hg locate a
11 hg locate NONEXISTENT 13 hg locate NONEXISTENT
12 hg locate 14 hg locate
16 hg locate NONEXISTENT 18 hg locate NONEXISTENT
17 hg locate 19 hg locate
18 hg locate -r 0 a 20 hg locate -r 0 a
19 hg locate -r 0 NONEXISTENT 21 hg locate -r 0 NONEXISTENT
20 hg locate -r 0 22 hg locate -r 0
23 echo % -I/-X with relative path should work
24 cd t
25 hg locate
26 hg locate -I ../t