changeset 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 4b61521c3db0
children d49328038b38
files tests/test-phases-exchange.t
diffstat 1 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-phases-exchange.t	Wed May 27 04:34:03 2015 -0700
+++ b/tests/test-phases-exchange.t	Wed May 27 06:37:56 2015 -0700
@@ -1,5 +1,12 @@
 #require killdaemons
 
+  $ cat << EOF >> $HGRCPATH
+  > [experimental]
+  > # drop me once bundle2 is the default,
+  > # added to get test change early.
+  > bundle2-exp = True
+  > EOF
+
   $ hgph() { hg log -G --template "{rev} {phase} {desc} - {node|short}\n" $*; }
 
   $ mkcommit() {
@@ -765,9 +772,9 @@
   searching for changes
   1 changesets found
   uncompressed size of bundle content:
-       172 (changelog)
-       145 (manifests)
-       111  a-H
+       192 (changelog)
+       165 (manifests)
+       131  a-H
   adding changesets
   adding manifests
   adding file changes