test: use generaldelta in 'test-hgweb-command.t'
authorPierre-Yves David <pierre-yves.david@fb.com>
Tue, 20 Oct 2015 12:25:51 +0200
changeset 26912 f40f62ea43e0
parent 26911 d7e5e4da8394
child 26913 f43689badeff
test: use generaldelta in 'test-hgweb-command.t' Using generaldelta has a meaningless impact on the capabilities string.
tests/test-hgweb-commands.t
--- 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