equal
deleted
inserted
replaced
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 |