tests/test-locate
changeset 1933 7544700fd931
parent 1622 5e9168401a68
child 2480 519a1011db91
equal deleted inserted replaced
1932:82995896d5af 1933:7544700fd931
     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 hg ci -A -m m -d "0 0"
     8 hg ci -A -m m -d "1000000 0"
     9 touch nottracked
     9 touch nottracked
    10 hg locate a
    10 hg locate a
    11 hg locate NONEXISTENT
    11 hg locate NONEXISTENT
    12 hg locate
    12 hg locate
    13 hg rm a
    13 hg rm a
    14 hg ci -m m -d "0 0"
    14 hg ci -m m -d "1000000 0"
    15 hg locate a
    15 hg locate a
    16 hg locate NONEXISTENT
    16 hg locate NONEXISTENT
    17 hg locate
    17 hg locate
    18 hg locate -r 0 a
    18 hg locate -r 0 a
    19 hg locate -r 0 NONEXISTENT
    19 hg locate -r 0 NONEXISTENT