comparison tests/test-phases-exchange.t @ 25355:53071142c7d7

test: use bundle2 for exchange in test-push-warn Using bundle2 for exchange unlocks the usage of changegroup version 2. This version of the changegroup held more information (delta base) that result in a small increase in content size (20 bytes).
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 27 May 2015 06:37:56 -0700
parents 4ab66de46a96
children d49328038b38
comparison
equal deleted inserted replaced
25354:4b61521c3db0 25355:53071142c7d7
1 #require killdaemons 1 #require killdaemons
2
3 $ cat << EOF >> $HGRCPATH
4 > [experimental]
5 > # drop me once bundle2 is the default,
6 > # added to get test change early.
7 > bundle2-exp = True
8 > EOF
2 9
3 $ hgph() { hg log -G --template "{rev} {phase} {desc} - {node|short}\n" $*; } 10 $ hgph() { hg log -G --template "{rev} {phase} {desc} - {node|short}\n" $*; }
4 11
5 $ mkcommit() { 12 $ mkcommit() {
6 > echo "$1" > "$1" 13 > echo "$1" > "$1"
763 $ hg push -fv ../alpha 770 $ hg push -fv ../alpha
764 pushing to ../alpha 771 pushing to ../alpha
765 searching for changes 772 searching for changes
766 1 changesets found 773 1 changesets found
767 uncompressed size of bundle content: 774 uncompressed size of bundle content:
768 172 (changelog) 775 192 (changelog)
769 145 (manifests) 776 165 (manifests)
770 111 a-H 777 131 a-H
771 adding changesets 778 adding changesets
772 adding manifests 779 adding manifests
773 adding file changes 780 adding file changes
774 added 1 changesets with 1 changes to 1 files (+1 heads) 781 added 1 changesets with 1 changes to 1 files (+1 heads)
775 $ hgph 782 $ hgph