comparison tests/test-remotefilelog-gc.t @ 40506: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 e2a1584e9e3f
comparison
equal deleted inserted replaced
40505:b6b2a3d22344 40506:10c10da14c5d
88 88
89 $ hg gc --config remotefilelog.gcrepack=True --config remotefilelog.repackonhggc=True 89 $ hg gc --config remotefilelog.gcrepack=True --config remotefilelog.repackonhggc=True
90 90
91 # Ensure that loose files are repacked 91 # Ensure that loose files are repacked
92 $ find $CACHEDIR -type f | sort 92 $ find $CACHEDIR -type f | sort
93 $TESTTMP/hgcache/master/packs/8d3499c65d926e4f107cf03c6b0df833222025b4.histidx 93 $TESTTMP/hgcache/master/packs/173691d550fabb9d33db8da192f1c9bc62dd11a4.dataidx
94 $TESTTMP/hgcache/master/packs/8d3499c65d926e4f107cf03c6b0df833222025b4.histpack 94 $TESTTMP/hgcache/master/packs/173691d550fabb9d33db8da192f1c9bc62dd11a4.datapack
95 $TESTTMP/hgcache/master/packs/9c7046f8cad0417c39aa7c03ce13e0ba991306c2.dataidx 95 $TESTTMP/hgcache/master/packs/837b83c1ef6485a336eb4421ac5973c0ec130fbb.histidx
96 $TESTTMP/hgcache/master/packs/9c7046f8cad0417c39aa7c03ce13e0ba991306c2.datapack 96 $TESTTMP/hgcache/master/packs/837b83c1ef6485a336eb4421ac5973c0ec130fbb.histpack
97 $TESTTMP/hgcache/master/packs/repacklock 97 $TESTTMP/hgcache/master/packs/repacklock
98 $TESTTMP/hgcache/repos 98 $TESTTMP/hgcache/repos
99 99
100 # Test that warning is displayed when there are no valid repos in repofile 100 # Test that warning is displayed when there are no valid repos in repofile
101 101