diff tests/test-remotefilelog-histpack.py @ 40556:10c10da14c5d

remotefilelog: bump pack file formats to version 2 Drop support for format 0 and 1 packs. Version 2 will be different in that it'll use zlib compression instead of lz4, as the latter isn't really suitable for core. If I can make it work, I'll make compression engines pluggable, but the logic for handling these files is spread out enough it's a little tricky to get that right. Test changes are only due to pack files being renamed. The contents of the packs are the same. Differential Revision: https://phab.mercurial-scm.org/D4943
author Augie Fackler <augie@google.com>
date Wed, 03 Oct 2018 23:25:31 -0400
parents 3a333a582d7b
children 9446d5aa0f32
line wrap: on
line diff
--- a/tests/test-remotefilelog-histpack.py	Wed Oct 03 23:47:43 2018 -0400
+++ b/tests/test-remotefilelog-histpack.py	Wed Oct 03 23:25:31 2018 -0400
@@ -55,7 +55,7 @@
 
         packdir = self.makeTempDir()
         packer = historypack.mutablehistorypack(uimod.ui(), packdir,
-                                                version=1)
+                                                version=2)
 
         for filename, node, p1, p2, linknode, copyfrom in revisions:
             packer.add(filename, node, p1, p2, linknode, copyfrom)