test: use generaldelta in 'test-clonebundle.t'
authorPierre-Yves David <pierre-yves.david@fb.com>
Sat, 07 Nov 2015 13:48:42 -0500
changeset 26932 eb49ffa39fe2
parent 26931 dc2016eb326b
child 26934 2fb17f60bffa
test: use generaldelta in 'test-clonebundle.t' Using generaldelta has effects on the generated bundle.
tests/test-clonebundles.t
--- 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