changeset 26932:eb49ffa39fe2

test: use generaldelta in 'test-clonebundle.t' Using generaldelta has effects on the generated bundle.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Sat, 07 Nov 2015 13:48:42 -0500
parents dc2016eb326b
children 2fb17f60bffa
files tests/test-clonebundles.t
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-clonebundles.t	Tue Oct 20 13:14:04 2015 +0200
+++ b/tests/test-clonebundles.t	Sat Nov 07 13:48:42 2015 -0500
@@ -1,5 +1,9 @@
 Set up a server
 
+  $ cat >> $HGRCPATH << EOF
+  > [format]
+  > usegeneraldelta=yes
+  > EOF
   $ hg init server
   $ cd server
   $ cat >> .hg/hgrc << EOF
@@ -308,7 +312,7 @@
 
   $ hg -R server debugcreatestreamclonebundle packed.hg
   writing 613 bytes for 4 files
-  bundle requirements: revlogv1
+  bundle requirements: generaldelta, revlogv1
 
 No bundle spec should work