comparison tests/test-bookmarks-pushpull.t @ 42897:d7304434390f

changegroup: move message about added changes to transaction summary Before that, applying multiple changegroups in the same transaction issued the message multiple time. This result in a confusing output: adding changesets adding manifests adding file changes added 32768 changesets with 60829 changes to 2668 files adding changesets adding manifests adding file changes added 8192 changesets with 16885 changes to 1553 files adding changesets adding manifests adding file changes added 1020 changesets with 1799 changes to 536 files adding changesets adding manifests ... Instead, we now only issue the message once at the end of the transaction, summing up all added changesets, changes and files. The line is identical, but happens sightly later in the output. There are other suboptimal behavior around issue multiple changegroup (eg: progress bar). We'll cover them later. This impact of lot of test as one would expect, but a two pass check show they are just the order change we expected. To deal with "under the hood" bundle application by internal code, we had to take a slightly hacky move. We could clean that up with a more official way to enter "under the hood" section, however I want to keep this series simple to get it landed. This kind of change have a very high bit rot rate since it impact a lot of test output.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 08 Sep 2019 09:42:53 +0200
parents 34a46d48d24e
children 181ee2118a96
comparison
equal deleted inserted replaced
42896:7e19b640c53e 42897:d7304434390f
49 pulling from ../a 49 pulling from ../a
50 requesting all changes 50 requesting all changes
51 adding changesets 51 adding changesets
52 adding manifests 52 adding manifests
53 adding file changes 53 adding file changes
54 added 1 changesets with 1 changes to 1 files
55 adding remote bookmark X 54 adding remote bookmark X
56 updating bookmark Y 55 updating bookmark Y
57 adding remote bookmark Z 56 adding remote bookmark Z
57 added 1 changesets with 1 changes to 1 files
58 new changesets 4e3505fd9583 (1 drafts) 58 new changesets 4e3505fd9583 (1 drafts)
59 test-hook-bookmark: X: -> 4e3505fd95835d721066b76e75dbb8cc554d7f77 59 test-hook-bookmark: X: -> 4e3505fd95835d721066b76e75dbb8cc554d7f77
60 test-hook-bookmark: Y: 0000000000000000000000000000000000000000 -> 4e3505fd95835d721066b76e75dbb8cc554d7f77 60 test-hook-bookmark: Y: 0000000000000000000000000000000000000000 -> 4e3505fd95835d721066b76e75dbb8cc554d7f77
61 test-hook-bookmark: Z: -> 4e3505fd95835d721066b76e75dbb8cc554d7f77 61 test-hook-bookmark: Z: -> 4e3505fd95835d721066b76e75dbb8cc554d7f77
62 (run 'hg update' to get a working copy) 62 (run 'hg update' to get a working copy)
412 pulling from $TESTTMP/a 412 pulling from $TESTTMP/a
413 searching for changes 413 searching for changes
414 adding changesets 414 adding changesets
415 adding manifests 415 adding manifests
416 adding file changes 416 adding file changes
417 added 1 changesets with 1 changes to 1 files (+1 heads)
418 divergent bookmark @ stored as @foo 417 divergent bookmark @ stored as @foo
419 divergent bookmark X stored as X@foo 418 divergent bookmark X stored as X@foo
420 updating bookmark Z 419 updating bookmark Z
420 added 1 changesets with 1 changes to 1 files (+1 heads)
421 new changesets 0d2164f0ce0d (1 drafts) 421 new changesets 0d2164f0ce0d (1 drafts)
422 test-hook-bookmark: @foo: -> 0d2164f0ce0d8f1d6f94351eba04b794909be66c 422 test-hook-bookmark: @foo: -> 0d2164f0ce0d8f1d6f94351eba04b794909be66c
423 test-hook-bookmark: X@foo: -> 0d2164f0ce0d8f1d6f94351eba04b794909be66c 423 test-hook-bookmark: X@foo: -> 0d2164f0ce0d8f1d6f94351eba04b794909be66c
424 test-hook-bookmark: Z: 4e3505fd95835d721066b76e75dbb8cc554d7f77 -> 0d2164f0ce0d8f1d6f94351eba04b794909be66c 424 test-hook-bookmark: Z: 4e3505fd95835d721066b76e75dbb8cc554d7f77 -> 0d2164f0ce0d8f1d6f94351eba04b794909be66c
425 (run 'hg heads' to see heads, 'hg merge' to merge) 425 (run 'hg heads' to see heads, 'hg merge' to merge)
578 pulling from http://localhost:$HGPORT/ 578 pulling from http://localhost:$HGPORT/
579 searching for changes 579 searching for changes
580 adding changesets 580 adding changesets
581 adding manifests 581 adding manifests
582 adding file changes 582 adding file changes
583 updating bookmark Y
583 added 1 changesets with 1 changes to 1 files 584 added 1 changesets with 1 changes to 1 files
584 updating bookmark Y
585 new changesets b0a5eff05604 (1 drafts) 585 new changesets b0a5eff05604 (1 drafts)
586 (run 'hg update' to get a working copy) 586 (run 'hg update' to get a working copy)
587 $ hg book 587 $ hg book
588 * @ 1:0d2164f0ce0d 588 * @ 1:0d2164f0ce0d
589 X 1:0d2164f0ce0d 589 X 1:0d2164f0ce0d
627 pulling from http://localhost:$HGPORT/ 627 pulling from http://localhost:$HGPORT/
628 searching for changes 628 searching for changes
629 adding changesets 629 adding changesets
630 adding manifests 630 adding manifests
631 adding file changes 631 adding file changes
632 updating bookmark Y
632 added 1 changesets with 1 changes to 1 files 633 added 1 changesets with 1 changes to 1 files
633 updating bookmark Y
634 new changesets 35d1ef0a8d1b (1 drafts) 634 new changesets 35d1ef0a8d1b (1 drafts)
635 (run 'hg update' to get a working copy) 635 (run 'hg update' to get a working copy)
636 $ hg book 636 $ hg book
637 @ 1:0d2164f0ce0d 637 @ 1:0d2164f0ce0d
638 X 1:0d2164f0ce0d 638 X 1:0d2164f0ce0d
670 pulling from http://localhost:$HGPORT/ 670 pulling from http://localhost:$HGPORT/
671 searching for changes 671 searching for changes
672 adding changesets 672 adding changesets
673 adding manifests 673 adding manifests
674 adding file changes 674 adding file changes
675 updating bookmark Y
675 added 1 changesets with 1 changes to 1 files 676 added 1 changesets with 1 changes to 1 files
676 updating bookmark Y
677 new changesets 0d60821d2197 (1 drafts) 677 new changesets 0d60821d2197 (1 drafts)
678 (run 'hg update' to get a working copy) 678 (run 'hg update' to get a working copy)
679 $ hg book 679 $ hg book
680 @ 1:0d2164f0ce0d 680 @ 1:0d2164f0ce0d
681 X 1:0d2164f0ce0d 681 X 1:0d2164f0ce0d