test: enforce non-generaldelta base repository in 'test-generaldelta'
authorPierre-Yves David <pierre-yves.david@fb.com>
Sat, 07 Nov 2015 13:53:11 -0500
changeset 26913 f43689badeff
parent 26912 f40f62ea43e0
child 26914 6839f2d4eea7
test: enforce non-generaldelta base repository in 'test-generaldelta' This test check the difference between various configurations we have to pin the type of some repositories to ensure the test is still correct when we change the default.
tests/test-generaldelta.t
--- a/tests/test-generaldelta.t	Tue Oct 20 12:25:51 2015 +0200
+++ b/tests/test-generaldelta.t	Sat Nov 07 13:53:11 2015 -0500
@@ -3,7 +3,7 @@
 implementation of parentdelta: third manifest revision would be fully
 inserted due to big distance from its paren revision (zero).
 
-  $ hg init repo
+  $ hg init repo --config format.generaldelta=no --config format.usegeneraldelta=no
   $ cd repo
   $ echo foo > foo
   $ echo bar > bar
@@ -62,7 +62,7 @@
   o  0 3903 a
   
   $ cd ..
-  $ hg init client --config format.generaldelta=false
+  $ hg init client --config format.generaldelta=false --config format.usegeneraldelta=false
   $ cd client
   $ hg pull -q ../server -r 4
   $ hg debugindex x