tests/test-locate.t
changeset 12316 4134686b83e1
parent 12206 844d25bf65a3
child 12365 22f3353bcc36
equal deleted inserted replaced
12315:ca58f6475f1d 12316:4134686b83e1
    40 
    40 
    41   $ hg rm a
    41   $ hg rm a
    42   $ hg ci -m m
    42   $ hg ci -m m
    43 
    43 
    44   $ hg locate a
    44   $ hg locate a
       
    45   [1]
    45   $ hg locate NONEXISTENT
    46   $ hg locate NONEXISTENT
       
    47   [1]
    46   $ hg locate relpath:NONEXISTENT
    48   $ hg locate relpath:NONEXISTENT
       
    49   [1]
    47   $ hg locate
    50   $ hg locate
    48   b
    51   b
    49   dir.h/foo
    52   dir.h/foo
    50   t.h
    53   t.h
    51   t/b
    54   t/b
    52   t/e.h
    55   t/e.h
    53   t/x
    56   t/x
    54   $ hg locate -r 0 a
    57   $ hg locate -r 0 a
    55   a
    58   a
    56   $ hg locate -r 0 NONEXISTENT
    59   $ hg locate -r 0 NONEXISTENT
       
    60   [1]
    57   $ hg locate -r 0 relpath:NONEXISTENT
    61   $ hg locate -r 0 relpath:NONEXISTENT
       
    62   [1]
    58   $ hg locate -r 0
    63   $ hg locate -r 0
    59   a
    64   a
    60   b
    65   b
    61   dir.h/foo
    66   dir.h/foo
    62   t.h
    67   t.h