changeset 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 ddf99471e023
children 4b61521c3db0
files tests/test-push-warn.t
diffstat 1 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-push-warn.t	Wed May 27 12:49:32 2015 -0700
+++ b/tests/test-push-warn.t	Wed May 27 04:30:40 2015 -0700
@@ -1,3 +1,9 @@
+  $ cat << EOF >> $HGRCPATH
+  > [experimental]
+  > # drop me once bundle2 is the default,
+  > # added to get test change early.
+  > bundle2-exp = True
+  > EOF
   $ hg init a
   $ cd a
   $ echo foo > t1
@@ -150,9 +156,9 @@
   searching for changes
   2 changesets found
   uncompressed size of bundle content:
-       308 (changelog)
-       286 (manifests)
-       213  foo
+       348 (changelog)
+       326 (manifests)
+       253  foo
   adding changesets
   adding manifests
   adding file changes