test: use bundle2 for exchange in test-push-warn
authorPierre-Yves David <pierre-yves.david@fb.com>
Wed, 27 May 2015 06:37:56 -0700
changeset 25355 53071142c7d7
parent 25354 4b61521c3db0
child 25356 d49328038b38
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).
tests/test-phases-exchange.t
--- 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