test: use bundle2 for exchange in test-push-warn
authorPierre-Yves David <pierre-yves.david@fb.com>
Wed, 27 May 2015 04:30:40 -0700
changeset 25353 a76f9fc18ebd
parent 25352 ddf99471e023
child 25354 4b61521c3db0
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).
tests/test-push-warn.t
--- 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