##// END OF EJS Templates
hgweb: all protocol functions have become generators...
hgweb: all protocol functions have become generators Using the write() callable supplied by the start_response() call is frowned upon by the WSGI spec, returning an iterable over the content chunks is the recommended way. Be aware, though: returning many small chunks will slow down responses, because the server has to flush each chunk separately.

File last commit:

r4966:8d982aef default
r6784:18c429ea 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