# HG changeset patch # User Pierre-Yves David # Date 2015-05-27 11:30:40 # Node ID a76f9fc18ebd7000cb57726134ce750ce5a9064e # Parent ddf99471e023e8c679e35f7ea2bb575e86084912 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). diff --git a/tests/test-push-warn.t b/tests/test-push-warn.t --- a/tests/test-push-warn.t +++ b/tests/test-push-warn.t @@ -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 @@ Specifying a revset that evaluates to nu 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