##// 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:

r4966:8d982aef default
r6651:7f0dd352 default
Show More
test-addremove-similar.out
20 lines | 650 B | text/plain | TextLexer
/ tests / test-addremove-similar.out
Erling Ellingsen
Avoid some false positives for addremove -s...
r4135 adding empty-file
adding large-file
adding another-file
removing empty-file
removing large-file
recording removal of large-file as rename to another-file (99% similar)
Thomas Arendsen Hein
addremove: comparing two empty files caused ZeroDivisionError...
r4472 % comparing two empty files caused ZeroDivisionError in the past
2 files updated, 0 files merged, 1 files removed, 0 files unresolved
adding another-empty-file
removing empty-file
Erling Ellingsen
Avoid some false positives for addremove -s...
r4135 adding large-file
adding tiny-file
adding small-file
removing large-file
removing tiny-file
recording removal of tiny-file as rename to small-file (82% similar)
Bryan O'Sullivan
addremove: print meaningful error message if --similar not numeric
r4966 % should all fail
abort: similarity must be a number
abort: similarity must be between 0 and 100
abort: similarity must be between 0 and 100