tests/test-locate.t
changeset 16912 6ef3107c661e
parent 15447 9910f60a37ee
child 22423 edf07a804ac4
equal deleted inserted replaced
16911:39d38f16a3f7 16912:6ef3107c661e
     1   $ hg init t
     1   $ hg init repo
     2   $ cd t
     2   $ cd repo
     3   $ echo 0 > a
     3   $ echo 0 > a
     4   $ echo 0 > b
     4   $ echo 0 > b
     5   $ echo 0 > t.h
     5   $ echo 0 > t.h
     6   $ mkdir t
     6   $ mkdir t
     7   $ echo 0 > t/x
     7   $ echo 0 > t/x
   116   ../t/x (glob)
   116   ../t/x (glob)
   117   $ hg locate -r 0 're:.*\.h$'
   117   $ hg locate -r 0 're:.*\.h$'
   118   ../t.h (glob)
   118   ../t.h (glob)
   119   ../t/e.h (glob)
   119   ../t/e.h (glob)
   120 
   120 
       
   121   $ cd ../..