##// END OF EJS Templates
change relglob: patterns to be consistent with glob: patterns...
change relglob: patterns to be consistent with glob: patterns With this change, you have to use "hg locate 'hgweb/**'" to locate all the files in directories named hgweb. OTOH, "hg locate '*l'" will locate only files that end with "l" - e.g. a file called "hg.py" will not be matched just because it's in a directory whose name ends with "l" (e.g. "mercurial").

File last commit:

r4307:702f4857 default
r4307:702f4857 default
Show More
test-locate.out
98 lines | 772 B | text/plain | TextLexer
Benoit Boissinot
fix locate broken since 63799b01985c...
r1622 adding a
adding b
Alexis S. L. Carvalho
change relglob: patterns to be consistent with glob: patterns...
r4307 adding dir.h/foo
Brendan Cully
Test case for #294
r2487 adding t.h
Alexis S. L. Carvalho
add some more tests to hg locate
r4235 adding t/b
adding t/e.h
Vadim Gelfer
fix -I/-X when relative paths used or in subdir
r2480 adding t/x
Alexis S. L. Carvalho
make the output of test-locate more readable
r4234 hg locate a
Benoit Boissinot
fix locate broken since 63799b01985c...
r1622 a
Alexis S. L. Carvalho
make the output of test-locate more readable
r4234
Alexis S. L. Carvalho
locate: exit(1) if we didn't print any file
r4196 locate succeeded
Alexis S. L. Carvalho
make the output of test-locate more readable
r4234 hg locate NONEXISTENT
Alexis S. L. Carvalho
locate: exit(1) if we didn't print any file
r4196 locate failed
Alexis S. L. Carvalho
make the output of test-locate more readable
r4234 hg locate
Benoit Boissinot
fix locate broken since 63799b01985c...
r1622 a
b
Alexis S. L. Carvalho
change relglob: patterns to be consistent with glob: patterns...
r4307 dir.h/foo
Brendan Cully
Test case for #294
r2487 t.h
Alexis S. L. Carvalho
add some more tests to hg locate
r4235 t/b
t/e.h
Vadim Gelfer
fix -I/-X when relative paths used or in subdir
r2480 t/x
Alexis S. L. Carvalho
make the output of test-locate more readable
r4234
hg locate a
hg locate NONEXISTENT
hg locate
Benoit Boissinot
fix locate broken since 63799b01985c...
r1622 b
Alexis S. L. Carvalho
change relglob: patterns to be consistent with glob: patterns...
r4307 dir.h/foo
Brendan Cully
Test case for #294
r2487 t.h
Alexis S. L. Carvalho
add some more tests to hg locate
r4235 t/b
t/e.h
Vadim Gelfer
fix -I/-X when relative paths used or in subdir
r2480 t/x
Alexis S. L. Carvalho
make the output of test-locate more readable
r4234
hg locate -r 0 a
Benoit Boissinot
fix locate broken since 63799b01985c...
r1622 a
Alexis S. L. Carvalho
make the output of test-locate more readable
r4234
hg locate -r 0 NONEXISTENT
hg locate -r 0
Benoit Boissinot
fix locate broken since 63799b01985c...
r1622 a
b
Alexis S. L. Carvalho
change relglob: patterns to be consistent with glob: patterns...
r4307 dir.h/foo
Brendan Cully
Test case for #294
r2487 t.h
Alexis S. L. Carvalho
add some more tests to hg locate
r4235 t/b
t/e.h
Alexis S. L. Carvalho
localrepo.walk: if we're walking a specific revision, sort the files...
r4194 t/x
Alexis S. L. Carvalho
make the output of test-locate more readable
r4234
Vadim Gelfer
fix -I/-X when relative paths used or in subdir
r2480 % -I/-X with relative path should work
Alexis S. L. Carvalho
make the output of test-locate more readable
r4234 hg locate
Vadim Gelfer
fix -I/-X when relative paths used or in subdir
r2480 b
Alexis S. L. Carvalho
change relglob: patterns to be consistent with glob: patterns...
r4307 dir.h/foo
Brendan Cully
Test case for #294
r2487 t.h
Alexis S. L. Carvalho
add some more tests to hg locate
r4235 t/b
t/e.h
Vadim Gelfer
fix -I/-X when relative paths used or in subdir
r2480 t/x
Alexis S. L. Carvalho
make the output of test-locate more readable
r4234
hg locate -I ../t
Alexis S. L. Carvalho
add some more tests to hg locate
r4235 t/b
t/e.h
Vadim Gelfer
fix -I/-X when relative paths used or in subdir
r2480 t/x
Alexis S. L. Carvalho
make the output of test-locate more readable
r4234
Alexis S. L. Carvalho
change relglob: patterns to be consistent with glob: patterns...
r4307 hg locate t/**
Alexis S. L. Carvalho
add some more tests to hg locate
r4235 t/b
t/e.h
Brendan Cully
Test case for #294
r2487 t/x
Alexis S. L. Carvalho
make the output of test-locate more readable
r4234
Alexis S. L. Carvalho
add some more tests to hg locate
r4235 hg locate b
../b
../t/b
hg locate *.h
../t.h
../t/e.h
hg locate path:t/x
../t/x
Alexis S. L. Carvalho
change relglob: patterns to be consistent with glob: patterns...
r4307 hg locate re:.*\.h$
Alexis S. L. Carvalho
add some more tests to hg locate
r4235 ../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
Alexis S. L. Carvalho
change relglob: patterns to be consistent with glob: patterns...
r4307 hg locate -r 0 re:.*\.h$
Alexis S. L. Carvalho
add some more tests to hg locate
r4235 ../t.h
../t/e.h