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

r7962:62154415 default
r10189:e451e599 default
Show More
test-convert-authormap.out
27 lines | 631 B | text/plain | TextLexer
/ tests / test-convert-authormap.out
Marti Raudsepp
convert: Add testcase for convert authormap.
r7961 initializing destination new repository
Marti Raudsepp
convert: fix authormap handling of lines without '='...
r7962 Ignoring bad line in author map file authormap.txt: this line is ignored
Marti Raudsepp
convert: Add testcase for convert authormap.
r7961 scanning source...
sorting...
converting...
0 foo
Writing author map file new/.hg/authormap
0
user name=Long User Name
changeset: 0:d89716e88087
tag: tip
user: Long User Name
date: Thu Jan 01 00:00:00 1970 +0000
summary: foo
Marti Raudsepp
convert: fix authormap handling of lines without '='...
r7962 Ignoring bad line in author map file new/.hg/authormap: this line is ignored
Marti Raudsepp
convert: Add testcase for convert authormap.
r7961 scanning source...
sorting...
converting...
0 foo
0
changeset: 0:d89716e88087
tag: tip
user: Long User Name
date: Thu Jan 01 00:00:00 1970 +0000
summary: foo