test: use generaldelta in test-manifestv2.t
authorPierre-Yves David <pierre-yves.david@fb.com>
Sun, 18 Oct 2015 18:55:32 +0200
changeset 26917 2329ca3ebc7a
parent 26916 c7931d8ea29c
child 26918 0438df737fb7
test: use generaldelta in test-manifestv2.t Generaldelta and bundle2 have no real influence on this test. So we can safely switch it early.
tests/test-manifestv2.t
--- a/tests/test-manifestv2.t	Sun Oct 18 18:36:39 2015 +0200
+++ b/tests/test-manifestv2.t	Sun Oct 18 18:55:32 2015 +0200
@@ -1,5 +1,10 @@
 Create repo with old manifest
 
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > usegeneraldelta=yes
+  > EOF
+
   $ hg init existing
   $ cd existing
   $ echo footext > foo
@@ -91,6 +96,6 @@
 Check that manifest revlog is smaller than for v1
 
   $ hg debugindex -m
-     rev    offset  length   base linkrev nodeid       p1           p2
-       0         0      81      0       0 57361477c778 000000000000 000000000000
+     rev    offset  length  delta linkrev nodeid       p1           p2
+       0         0      81     -1       0 57361477c778 000000000000 000000000000
        1        81      33      0       1 aeaab5a2ef74 57361477c778 000000000000