mercurial/changegroup.py
changeset 3705 e9d339d5d2d7
parent 3704 9c1737a3e254
child 3706 0d810798acb1
equal deleted inserted replaced
3704:9c1737a3e254 3705:e9d339d5d2d7
    48         return ""
    48         return ""
    49 
    49 
    50 bundletypes = {
    50 bundletypes = {
    51     "": ("", nocompress),
    51     "": ("", nocompress),
    52     "HG10UN": ("HG10UN", nocompress),
    52     "HG10UN": ("HG10UN", nocompress),
    53     "HG10BZ": ("HG10", lambda: bz2.BZ2Compressor(9)),
    53     "HG10BZ": ("HG10", bz2.BZ2Compressor),
    54     "HG10GZ": ("HG10GZ", zlib.compressobj),
    54     "HG10GZ": ("HG10GZ", zlib.compressobj),
    55 }
    55 }
    56 
    56 
    57 def writebundle(cg, filename, type):
    57 def writebundle(cg, filename, type):
    58     """Write a bundle file and return its filename.
    58     """Write a bundle file and return its filename.