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

r9611:a3d73b3e default
r10189:e451e599 default
Show More
test-mq-qclone-http.out
80 lines | 1.7 KiB | text/plain | TextLexer
/ tests / test-mq-qclone-http.out
Peter Arrenbrecht
mq: test for qclone of http repo+queue...
r6205 adding a
adding b
[mq]: b.patch
a
b.patch
Dirkjan Ochtman
hgweb: mq repos should be in non-recursive collections, too
r7525 % test with recursive collection
Peter Arrenbrecht
mq: test for qclone of http repo+queue...
r6205 200 Script output follows
/a/
/a/.hg/patches/
requesting all changes
adding changesets
adding manifests
adding file changes
added 2 changesets with 2 changes to 2 files
requesting all changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 3 changes to 3 files
Adrian Buehlmann
hg.clone: report branch name on update
r9611 updating to branch default
Peter Arrenbrecht
mq: test for qclone of http repo+queue...
r6205 3 files updated, 0 files merged, 0 files removed, 0 files unresolved
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
a
applying b.patch
Martin Geisler
mq: lowercase output...
r7627 now at: b.patch
Peter Arrenbrecht
mq: test for qclone of http repo+queue...
r6205 imported patch b.patch
a
Dirkjan Ochtman
hgweb: mq repos should be in non-recursive collections, too
r7525 % test with normal collection
Dirkjan Ochtman
tests: fix test-mq-qclone-http (broken by e60aaae83323)
r7524 200 Script output follows
/a/
Dirkjan Ochtman
hgweb: mq repos should be in non-recursive collections, too
r7525 /a/.hg/patches/
Dirkjan Ochtman
tests: fix test-mq-qclone-http (broken by e60aaae83323)
r7524
requesting all changes
adding changesets
adding manifests
adding file changes
added 2 changesets with 2 changes to 2 files
requesting all changes
adding changesets
adding manifests
adding file changes
Dirkjan Ochtman
hgweb: mq repos should be in non-recursive collections, too
r7525 added 1 changesets with 3 changes to 3 files
Adrian Buehlmann
hg.clone: report branch name on update
r9611 updating to branch default
Dirkjan Ochtman
hgweb: mq repos should be in non-recursive collections, too
r7525 3 files updated, 0 files merged, 0 files removed, 0 files unresolved
Dirkjan Ochtman
tests: fix test-mq-qclone-http (broken by e60aaae83323)
r7524 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
a
Dirkjan Ochtman
hgweb: mq repos should be in non-recursive collections, too
r7525 applying b.patch
Martin Geisler
mq: lowercase output...
r7627 now at: b.patch
Dirkjan Ochtman
hgweb: mq repos should be in non-recursive collections, too
r7525 imported patch b.patch
Dirkjan Ochtman
tests: fix test-mq-qclone-http (broken by e60aaae83323)
r7524 a
Dirkjan Ochtman
hgweb: mq repos should be in non-recursive collections, too
r7525 % test with old-style collection
200 Script output follows
/a/
/a/.hg/patches/
requesting all changes
adding changesets
adding manifests
adding file changes
added 2 changesets with 2 changes to 2 files
requesting all changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 3 changes to 3 files
Adrian Buehlmann
hg.clone: report branch name on update
r9611 updating to branch default
Dirkjan Ochtman
hgweb: mq repos should be in non-recursive collections, too
r7525 3 files updated, 0 files merged, 0 files removed, 0 files unresolved
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
a
applying b.patch
Martin Geisler
mq: lowercase output...
r7627 now at: b.patch
Dirkjan Ochtman
hgweb: mq repos should be in non-recursive collections, too
r7525 imported patch b.patch
a