changeset 26912:f40f62ea43e0

test: use generaldelta in 'test-hgweb-command.t' Using generaldelta has a meaningless impact on the capabilities string.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 20 Oct 2015 12:25:51 +0200
parents d7e5e4da8394
children f43689badeff
files tests/test-hgweb-commands.t
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-hgweb-commands.t	Tue Oct 20 12:28:42 2015 +0200
+++ b/tests/test-hgweb-commands.t	Tue Oct 20 12:25:51 2015 +0200
@@ -6,6 +6,11 @@
 - unbundle, tested in test-push-http
 - changegroupsubset, tested in test-pull
 
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > usegeneraldelta=yes
+  > EOF
+
 Set up the repo
 
   $ hg init test
@@ -2122,7 +2127,7 @@
   unbundlehash
   batch
   stream-preferred
-  stream
+  streamreqs=generaldelta,revlogv1
   bundle2=HG20%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps
   unbundle=HG10GZ,HG10BZ,HG10UN
   httpheader=1024