##// END OF EJS Templates
patch: support diff data loss detection and upgrade...
patch: support diff data loss detection and upgrade In worst case, generating diff in upgrade mode can be two times more expensive than generating it in git mode directly: we may have to regenerate the whole diff again whenever a git feature is detected. Also, the first diff attempt is completely buffered instead of being streamed. That said, even without having profiled it yet, I am convinced we can fast-path the upgrade mode if necessary were it to be used in regular diff commands, and not only in mq where avoiding data loss is worth the price.

File last commit:

r6138:09847b90 default
r10189:e451e599 default
Show More
test-issue352.out
14 lines | 316 B | text/plain | TextLexer
/ tests / test-issue352.out
Benoit Boissinot
issue352: disallow '\n' and '\r' in filenames (dirstate and manifest)
r3607 adding he llo
Thomas Arendsen Hein
Report filenames with disallowed characters as suggested by Mika Eloranta...
r6138 abort: '\n' and '\r' disallowed in filenames: 'he\rllo'
Benoit Boissinot
issue352: disallow '\n' and '\r' in filenames (dirstate and manifest)
r3607 adding he llo
Thomas Arendsen Hein
Report filenames with disallowed characters as suggested by Mika Eloranta...
r6138 abort: '\n' and '\r' disallowed in filenames: 'he\rllo'
Alexis S. L. Carvalho
Leave normalization of patterns to util._matcher...
r4186 adding hell
o
Thomas Arendsen Hein
Report filenames with disallowed characters as suggested by Mika Eloranta...
r6138 abort: '\n' and '\r' disallowed in filenames: 'hell\no'
Alexis S. L. Carvalho
Leave normalization of patterns to util._matcher...
r4186 adding hell
Benoit Boissinot
issue352: disallow '\n' and '\r' in filenames (dirstate and manifest)
r3607 o
Thomas Arendsen Hein
Report filenames with disallowed characters as suggested by Mika Eloranta...
r6138 abort: '\n' and '\r' disallowed in filenames: 'hell\no'
Alexis S. L. Carvalho
Leave normalization of patterns to util._matcher...
r4186 f he llo he llo
f hell
o hell
o