diff tests/test-revlog.t @ 49210:cc92ad0e8185 stable

rhg: correctly handle the case where diffs are encoded relative to nullrev returning a valid entry for nullrev fix chain that delta against nullrev.
author Arseniy Alekseyev <aalekseyev@janestreet.com>
date Sun, 22 May 2022 14:21:59 +0200
parents 2dd53a33aefa
children 75d0775dce7f
line wrap: on
line diff
--- a/tests/test-revlog.t	Sun May 22 23:26:06 2022 +0200
+++ b/tests/test-revlog.t	Sun May 22 14:21:59 2022 +0200
@@ -78,12 +78,6 @@
   $ hg debugdeltachain a
       rev  chain# chainlen     prev   delta       size    rawsize  chainsize     ratio   lindist extradist extraratio   readsize largestblk rddensity srchunks
         0       1        2       -1      p1         15          3         15   5.00000        15         0    0.00000         15         15   1.00000        1
-#if rhg
-  $ hg cat --config rhg.cat=true -r 0 a
-  abort: corrupted revlog
-  [255]
-#else
   $ hg cat --config rhg.cat=true -r 0 a
   hi
-#endif
   $ cd ..