
Tortoisehg set bundle compression type generator#
write( chunk) 16 17 def filechunkiter( f, size= 65536, limit= None): 18 """Create a generator that produces the data in the file size 19 (default 65536) bytes at a time, up to optional limit (default is 20 to read all data). write( ' HG10UN ') 14 for chunk in unbundle( infile): 15 outfile. 7 8 import bz2, zlib, sys 9 10 def decompress( filename): 11 infile = open( filename, " rb ") 12 outfile = open( filename+ '.

hg BUNDLESPEC = none - packed1 requirements % 3 Dgeneraldelta % 2 Crevlogv1 ec2region = eu - central - 1Īs you can see, listed bundle URLs vary by bundle type (compression andįormat) and location.1 #!/usr/bin/python 2 3 # Program to decompress Mercurial bundles 4 # This program contains extracts from the Mercurial 5 # source, and is therefore subject to the GNU General 6 # Public License. hg BUNDLESPEC = none - packed1 requirements % 3 Dgeneraldelta % 2 Crevlogv1 ec2region = us - east - 1 https : // s3 - eu - central - 1. hg BUNDLESPEC = none - packed1 requirements % 3 Dgeneraldelta % 2 Crevlogv1 ec2region = us - west - 1 https : // s3 - external - 1. hg BUNDLESPEC = none - packed1 requirements % 3 Dgeneraldelta % 2 Crevlogv1 ec2region = us - west - 2 https : // s3 - us - west - 1. hg BUNDLESPEC = none - packed1 requirements % 3 Dgeneraldelta % 2 Crevlogv1 REQUIRESNI = true cdn = true https : // s3 - us - west - 2. hg BUNDLESPEC = gzip - v2 ec2region = eu - central - 1 https : // hg. hg BUNDLESPEC = gzip - v2 ec2region = us - east - 1 https : // s3 - eu - central - 1. hg BUNDLESPEC = gzip - v2 ec2region = us - west - 1 https : // s3 - external - 1. hg BUNDLESPEC = gzip - v2 ec2region = us - west - 2 https : // s3 - us - west - 1.

hg BUNDLESPEC = gzip - v2 REQUIRESNI = true cdn = true https : // s3 - us - west - 2. hg BUNDLESPEC = zstd - v2 ec2region = eu - central - 1 https : // hg. hg BUNDLESPEC = zstd - v2 ec2region = us - east - 1 https : // s3 - eu - central - 1. hg BUNDLESPEC = zstd - v2 ec2region = us - west - 1 https : // s3 - external - 1.

hg BUNDLESPEC = zstd - v2 ec2region = us - west - 2 https : // s3 - us - west - 1. hg BUNDLESPEC = zstd - v2 REQUIRESNI = true cdn = true https : // s3 - us - west - 2.
