##// END OF EJS Templates
addremove: correctly handle intermediate symlinks...
addremove: correctly handle intermediate symlinks This fixes problems mentioned in issue660 comments (unrelated to original issue) where directory was renamed, and symlink was added instead. In such situation addremove wasn't able to correctly detect that old files no longer here, but tried to add symlink (and failed due collision with old files).

File last commit:

r4308:a5cde03c default
r6651:7f0dd352 default
Show More
test-locate.out
102 lines | 839 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
Alexis S. L. Carvalho
locate: don't print "file not found" messages....
r4308 hg locate relpath:NONEXISTENT
Alexis S. L. Carvalho
make the output of test-locate more readable
r4234 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
Alexis S. L. Carvalho
locate: don't print "file not found" messages....
r4308 hg locate -r 0 relpath:NONEXISTENT
Alexis S. L. Carvalho
make the output of test-locate more readable
r4234 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