changeset 26772:d9a0cf97651e

test: enforce v1 type in 'test-bundle2-format.t' This bundle command is meant to generate a bundle1, we enforce that to avoid test's misbehavior when moving to general-delta by default.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 16 Oct 2015 02:51:34 +0100
parents a723f900d212
children ec7e0dbe56d5
files tests/test-bundle2-format.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-bundle2-format.t	Sat Oct 17 15:48:14 2015 -0700
+++ b/tests/test-bundle2-format.t	Fri Oct 16 02:51:34 2015 +0100
@@ -285,7 +285,7 @@
 
 Test old style bundle are detected and refused
 
-  $ hg bundle --all ../bundle.hg
+  $ hg bundle --all --type v1 ../bundle.hg
   1 changesets found
   $ hg statbundle2 < ../bundle.hg
   abort: unknown bundle version 10