test: fix test-sparse-revlog output after debugdeltachain change
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 10 Jun 2022 19:54:08 +0200
changeset 49353 fa8d974284f8
parent 49352 97dcd6906e6f
child 49354 216f273b6b30
test: fix test-sparse-revlog output after debugdeltachain change We need to get this test covered by the CI, in the meantime, here is a quick fix.
tests/test-sparse-revlog.t
--- a/tests/test-sparse-revlog.t	Wed Jun 08 18:18:19 2022 +0200
+++ b/tests/test-sparse-revlog.t	Fri Jun 10 19:54:08 2022 +0200
@@ -155,8 +155,8 @@
 
   $ ls -1
   SPARSE-REVLOG-TEST-FILE
-  $ hg debugdeltachain SPARSE-REVLOG-TEST-FILE | grep other | tail -1
-     4971       3        5     4930   other      19179     346472     427596   1.23414  15994877  15567281   36.40652     427596     179288   1.00000        5
+  $ hg debugdeltachain SPARSE-REVLOG-TEST-FILE | grep snap | tail -1
+     4971    4970      -1       3        5     4930    snap      19179     346472     427596   1.23414  15994877  15567281   36.40652     427596     179288   1.00000        5
   $ hg debug-delta-find SPARSE-REVLOG-TEST-FILE 4971
   DBG-DELTAS-SEARCH: SEARCH rev=4971
   DBG-DELTAS-SEARCH: ROUND #1 - 2 candidates - search-down