comparison tests/test-push-warn.t @ 25353:a76f9fc18ebd

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 x 2 changes).
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 27 May 2015 04:30:40 -0700
parents 701df761aa94
children 12f727a5b434
comparison
equal deleted inserted replaced
25352:ddf99471e023 25353:a76f9fc18ebd
1 $ cat << EOF >> $HGRCPATH
2 > [experimental]
3 > # drop me once bundle2 is the default,
4 > # added to get test change early.
5 > bundle2-exp = True
6 > EOF
1 $ hg init a 7 $ hg init a
2 $ cd a 8 $ cd a
3 $ echo foo > t1 9 $ echo foo > t1
4 $ hg add t1 10 $ hg add t1
5 $ hg commit -m "1" 11 $ hg commit -m "1"
148 $ hg push -v -f -r 3 -r 4 ../c 154 $ hg push -v -f -r 3 -r 4 ../c
149 pushing to ../c 155 pushing to ../c
150 searching for changes 156 searching for changes
151 2 changesets found 157 2 changesets found
152 uncompressed size of bundle content: 158 uncompressed size of bundle content:
153 308 (changelog) 159 348 (changelog)
154 286 (manifests) 160 326 (manifests)
155 213 foo 161 253 foo
156 adding changesets 162 adding changesets
157 adding manifests 163 adding manifests
158 adding file changes 164 adding file changes
159 added 2 changesets with 2 changes to 1 files (+2 heads) 165 added 2 changesets with 2 changes to 1 files (+2 heads)
160 166