tests/test-locate
changeset 2487 041363739ca8
parent 2480 519a1011db91
child 3988 9dcf9d45cab8
equal deleted inserted replaced
2486:3ea8111ead90 2487:041363739ca8
     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 echo 0 > t.h
     8 mkdir t
     9 mkdir t
     9 echo 0 > t/x
    10 echo 0 > t/x
    10 hg ci -A -m m -d "1000000 0"
    11 hg ci -A -m m -d "1000000 0"
    11 touch nottracked
    12 touch nottracked
    12 hg locate a
    13 hg locate a
    22 hg locate -r 0
    23 hg locate -r 0
    23 echo % -I/-X with relative path should work
    24 echo % -I/-X with relative path should work
    24 cd t
    25 cd t
    25 hg locate
    26 hg locate
    26 hg locate -I ../t
    27 hg locate -I ../t
       
    28 # test issue294
       
    29 cd ..
       
    30 rm -rf t
       
    31 hg locate t