tests/test-treemanifest.t
changeset 37282 009d0283de5f
parent 35393 4441705b7111
child 37283 d4e62df1c73d
--- a/tests/test-treemanifest.t	Mon Apr 02 16:24:57 2018 -0700
+++ b/tests/test-treemanifest.t	Mon Apr 02 16:28:20 2018 -0700
@@ -139,13 +139,13 @@
   $ cat dir1/b
   6
   $ hg debugindex --dir dir1
-     rev    offset  length  delta linkrev nodeid       p1           p2
-       0         0      54     -1       1 8b3ffd73f901 000000000000 000000000000
-       1        54      68      0       2 68e9d057c5a8 8b3ffd73f901 000000000000
-       2       122      12      1       4 4698198d2624 68e9d057c5a8 000000000000
-       3       134      55      1       5 44844058ccce 68e9d057c5a8 000000000000
-       4       189      55      1       6 bf3d9b744927 68e9d057c5a8 000000000000
-       5       244      55      4       7 dde7c0af2a03 bf3d9b744927 44844058ccce
+     rev    offset  length linkrev nodeid       p1           p2
+       0         0      54       1 8b3ffd73f901 000000000000 000000000000
+       1        54      68       2 68e9d057c5a8 8b3ffd73f901 000000000000
+       2       122      12       4 4698198d2624 68e9d057c5a8 000000000000
+       3       134      55       5 44844058ccce 68e9d057c5a8 000000000000
+       4       189      55       6 bf3d9b744927 68e9d057c5a8 000000000000
+       5       244      55       7 dde7c0af2a03 bf3d9b744927 44844058ccce
 
 Merge keeping directory from parent 1 does not create revlog entry. (Note that
 dir1's manifest does change, but only because dir1/a's filelog changes.)
@@ -285,13 +285,13 @@
 Parent of tree root manifest should be flat manifest, and two for merge
 
   $ hg debugindex -m
-     rev    offset  length  delta linkrev nodeid       p1           p2
-       0         0      80     -1       0 40536115ed9e 000000000000 000000000000
-       1        80      83      0       1 f3376063c255 40536115ed9e 000000000000
-       2       163      89      0       2 5d9b9da231a2 40536115ed9e 000000000000
-       3       252      83      2       3 d17d663cbd8a 5d9b9da231a2 f3376063c255
-       4       335     124      1       4 51e32a8c60ee f3376063c255 000000000000
-       5       459     126      2       5 cc5baa78b230 5d9b9da231a2 f3376063c255
+     rev    offset  length linkrev nodeid       p1           p2
+       0         0      80       0 40536115ed9e 000000000000 000000000000
+       1        80      83       1 f3376063c255 40536115ed9e 000000000000
+       2       163      89       2 5d9b9da231a2 40536115ed9e 000000000000
+       3       252      83       3 d17d663cbd8a 5d9b9da231a2 f3376063c255
+       4       335     124       4 51e32a8c60ee f3376063c255 000000000000
+       5       459     126       5 cc5baa78b230 5d9b9da231a2 f3376063c255
 
 
 Status across flat/tree boundary should work
@@ -305,16 +305,16 @@
 Turning off treemanifest config has no effect
 
   $ hg debugindex --dir dir1
-     rev    offset  length  delta linkrev nodeid       p1           p2
-       0         0     127     -1       4 064927a0648a 000000000000 000000000000
-       1       127     111      0       5 25ecb8cb8618 000000000000 000000000000
+     rev    offset  length linkrev nodeid       p1           p2
+       0         0     127       4 064927a0648a 000000000000 000000000000
+       1       127     111       5 25ecb8cb8618 000000000000 000000000000
   $ echo 2 > dir1/a
   $ hg --config experimental.treemanifest=False ci -qm 'modify dir1/a'
   $ hg debugindex --dir dir1
-     rev    offset  length  delta linkrev nodeid       p1           p2
-       0         0     127     -1       4 064927a0648a 000000000000 000000000000
-       1       127     111      0       5 25ecb8cb8618 000000000000 000000000000
-       2       238      55      1       6 5b16163a30c6 25ecb8cb8618 000000000000
+     rev    offset  length linkrev nodeid       p1           p2
+       0         0     127       4 064927a0648a 000000000000 000000000000
+       1       127     111       5 25ecb8cb8618 000000000000 000000000000
+       2       238      55       6 5b16163a30c6 25ecb8cb8618 000000000000
 
 Stripping and recovering changes should work
 
@@ -324,9 +324,9 @@
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   saved backup bundle to $TESTTMP/repo-mixed/.hg/strip-backup/51cfd7b1e13b-78a2f3ed-backup.hg
   $ hg debugindex --dir dir1
-     rev    offset  length  delta linkrev nodeid       p1           p2
-       0         0     127     -1       4 064927a0648a 000000000000 000000000000
-       1       127     111      0       5 25ecb8cb8618 000000000000 000000000000
+     rev    offset  length linkrev nodeid       p1           p2
+       0         0     127       4 064927a0648a 000000000000 000000000000
+       1       127     111       5 25ecb8cb8618 000000000000 000000000000
   $ hg incoming .hg/strip-backup/*
   comparing with .hg/strip-backup/*-backup.hg (glob)
   searching for changes
@@ -349,10 +349,10 @@
   saved backup bundle to $TESTTMP/repo-mixed/.hg/strip-backup/*-backup.hg (glob)
   $ hg unbundle -q .hg/strip-backup/*
   $ hg debugindex --dir dir1
-     rev    offset  length  delta linkrev nodeid       p1           p2
-       0         0     127     -1       4 064927a0648a 000000000000 000000000000
-       1       127     111      0       5 25ecb8cb8618 000000000000 000000000000
-       2       238      55      1       6 5b16163a30c6 25ecb8cb8618 000000000000
+     rev    offset  length linkrev nodeid       p1           p2
+       0         0     127       4 064927a0648a 000000000000 000000000000
+       1       127     111       5 25ecb8cb8618 000000000000 000000000000
+       2       238      55       6 5b16163a30c6 25ecb8cb8618 000000000000
   $ hg st --change tip
   M dir1/a