mercurial/changegroup.py
changeset 9087 f48454a279b9
parent 8312 b87a50b7125c
child 9437 1c4e4004f3a6
equal deleted inserted replaced
9086:f459f09b4214 9087:f48454a279b9
    50     "HG10UN": ("HG10UN", nocompress),
    50     "HG10UN": ("HG10UN", nocompress),
    51     "HG10BZ": ("HG10", lambda: bz2.BZ2Compressor()),
    51     "HG10BZ": ("HG10", lambda: bz2.BZ2Compressor()),
    52     "HG10GZ": ("HG10GZ", lambda: zlib.compressobj()),
    52     "HG10GZ": ("HG10GZ", lambda: zlib.compressobj()),
    53 }
    53 }
    54 
    54 
    55 # hgweb uses this list to communicate it's preferred type
    55 # hgweb uses this list to communicate its preferred type
    56 bundlepriority = ['HG10GZ', 'HG10BZ', 'HG10UN']
    56 bundlepriority = ['HG10GZ', 'HG10BZ', 'HG10UN']
    57 
    57 
    58 def writebundle(cg, filename, bundletype):
    58 def writebundle(cg, filename, bundletype):
    59     """Write a bundle file and return its filename.
    59     """Write a bundle file and return its filename.
    60 
    60