2006-01-16 17:51:09 +03:00
|
|
|
adding a
|
|
|
|
adding b
|
2007-04-04 11:22:06 +04:00
|
|
|
adding dir.h/foo
|
2006-06-23 10:10:06 +04:00
|
|
|
adding t.h
|
2007-03-17 04:48:22 +03:00
|
|
|
adding t/b
|
|
|
|
adding t/e.h
|
2006-06-22 04:30:31 +04:00
|
|
|
adding t/x
|
2007-03-17 04:48:21 +03:00
|
|
|
hg locate a
|
2006-01-16 17:51:09 +03:00
|
|
|
a
|
2007-03-17 04:48:21 +03:00
|
|
|
|
2007-03-11 05:00:58 +03:00
|
|
|
locate succeeded
|
2007-03-17 04:48:21 +03:00
|
|
|
hg locate NONEXISTENT
|
|
|
|
|
2007-03-11 05:00:58 +03:00
|
|
|
locate failed
|
2007-03-17 04:48:21 +03:00
|
|
|
hg locate
|
2006-01-16 17:51:09 +03:00
|
|
|
a
|
|
|
|
b
|
2007-04-04 11:22:06 +04:00
|
|
|
dir.h/foo
|
2006-06-23 10:10:06 +04:00
|
|
|
t.h
|
2007-03-17 04:48:22 +03:00
|
|
|
t/b
|
|
|
|
t/e.h
|
2006-06-22 04:30:31 +04:00
|
|
|
t/x
|
2007-03-17 04:48:21 +03:00
|
|
|
|
|
|
|
hg locate a
|
|
|
|
|
|
|
|
hg locate NONEXISTENT
|
|
|
|
|
2007-04-04 11:22:06 +04:00
|
|
|
hg locate relpath:NONEXISTENT
|
|
|
|
|
2007-03-17 04:48:21 +03:00
|
|
|
hg locate
|
2006-01-16 17:51:09 +03:00
|
|
|
b
|
2007-04-04 11:22:06 +04:00
|
|
|
dir.h/foo
|
2006-06-23 10:10:06 +04:00
|
|
|
t.h
|
2007-03-17 04:48:22 +03:00
|
|
|
t/b
|
|
|
|
t/e.h
|
2006-06-22 04:30:31 +04:00
|
|
|
t/x
|
2007-03-17 04:48:21 +03:00
|
|
|
|
|
|
|
hg locate -r 0 a
|
2006-01-16 17:51:09 +03:00
|
|
|
a
|
2007-03-17 04:48:21 +03:00
|
|
|
|
|
|
|
hg locate -r 0 NONEXISTENT
|
|
|
|
|
2007-04-04 11:22:06 +04:00
|
|
|
hg locate -r 0 relpath:NONEXISTENT
|
|
|
|
|
2007-03-17 04:48:21 +03:00
|
|
|
hg locate -r 0
|
2006-01-16 17:51:09 +03:00
|
|
|
a
|
|
|
|
b
|
2007-04-04 11:22:06 +04:00
|
|
|
dir.h/foo
|
2006-06-23 10:10:06 +04:00
|
|
|
t.h
|
2007-03-17 04:48:22 +03:00
|
|
|
t/b
|
|
|
|
t/e.h
|
2007-03-11 05:00:55 +03:00
|
|
|
t/x
|
2007-03-17 04:48:21 +03:00
|
|
|
|
2006-06-22 04:30:31 +04:00
|
|
|
% -I/-X with relative path should work
|
2007-03-17 04:48:21 +03:00
|
|
|
hg locate
|
2006-06-22 04:30:31 +04:00
|
|
|
b
|
2007-04-04 11:22:06 +04:00
|
|
|
dir.h/foo
|
2006-06-23 10:10:06 +04:00
|
|
|
t.h
|
2007-03-17 04:48:22 +03:00
|
|
|
t/b
|
|
|
|
t/e.h
|
2006-06-23 10:10:06 +04:00
|
|
|
t/x
|
2007-03-17 04:48:21 +03:00
|
|
|
|
|
|
|
hg locate -I ../t
|
2007-03-17 04:48:22 +03:00
|
|
|
t/b
|
|
|
|
t/e.h
|
2006-06-22 04:30:31 +04:00
|
|
|
t/x
|
2007-03-17 04:48:21 +03:00
|
|
|
|
2007-04-04 11:22:06 +04:00
|
|
|
hg locate t/**
|
2007-03-17 04:48:22 +03:00
|
|
|
t/b
|
|
|
|
t/e.h
|
2006-06-22 04:30:31 +04:00
|
|
|
t/x
|
2007-03-17 04:48:21 +03:00
|
|
|
|
2007-03-17 04:48:22 +03:00
|
|
|
hg locate b
|
|
|
|
../b
|
|
|
|
../t/b
|
|
|
|
|
|
|
|
hg locate *.h
|
|
|
|
../t.h
|
|
|
|
../t/e.h
|
|
|
|
|
|
|
|
hg locate path:t/x
|
|
|
|
../t/x
|
|
|
|
|
2007-04-04 11:22:06 +04:00
|
|
|
hg locate re:.*\.h$
|
2007-03-17 04:48:22 +03:00
|
|
|
../t.h
|
|
|
|
../t/e.h
|
|
|
|
|
|
|
|
hg locate -r 0 b
|
|
|
|
../b
|
|
|
|
../t/b
|
|
|
|
|
|
|
|
hg locate -r 0 *.h
|
|
|
|
../t.h
|
|
|
|
../t/e.h
|
|
|
|
|
|
|
|
hg locate -r 0 path:t/x
|
|
|
|
../t/x
|
|
|
|
|
2007-04-04 11:22:06 +04:00
|
|
|
hg locate -r 0 re:.*\.h$
|
2007-03-17 04:48:22 +03:00
|
|
|
../t.h
|
|
|
|
../t/e.h
|
|
|
|
|