diff tests/test-parseindex2.py @ 46704:913485776542

revlog: introduce v2 format As documented in [1], this is still tentative and could be subject to change, but we need to lay down the foundations in order to work on the next abstraction layers. [1] https://www.mercurial-scm.org/wiki/RevlogV2Plan Differential Revision: https://phab.mercurial-scm.org/D9843
author Rapha?l Gom?s <rgomes@octobus.net>
date Thu, 28 Jan 2021 15:28:57 +0100
parents 59fa3890d40a
children d55b71393907
line wrap: on
line diff
--- a/tests/test-parseindex2.py	Fri Feb 12 16:13:34 2021 -0800
+++ b/tests/test-parseindex2.py	Thu Jan 28 15:28:57 2021 +0100
@@ -117,8 +117,8 @@
 )
 
 
-def parse_index2(data, inline):
-    index, chunkcache = parsers.parse_index2(data, inline)
+def parse_index2(data, inline, revlogv2=False):
+    index, chunkcache = parsers.parse_index2(data, inline, revlogv2=revlogv2)
     return list(index), chunkcache