mercurial/utils/compression.py
changeset 46121 84130fd74a22
parent 45942 89a2afe31e82
child 46776 471cd86c8eb4
equal deleted inserted replaced
46120:c000eff2c635 46121:84130fd74a22
   615     # unless you are on a fast network, uncompressed payloads can easily
   615     # unless you are on a fast network, uncompressed payloads can easily
   616     # saturate your network pipe.
   616     # saturate your network pipe.
   617     def wireprotosupport(self):
   617     def wireprotosupport(self):
   618         return compewireprotosupport(b'none', 0, 10)
   618         return compewireprotosupport(b'none', 0, 10)
   619 
   619 
   620     # We don't implement revlogheader because it is handled specially
   620     # revlog special cases the uncompressed case, but implementing
   621     # in the revlog class.
   621     # revlogheader allows forcing uncompressed storage.
       
   622     def revlogheader(self):
       
   623         return b'\0'
   622 
   624 
   623     def compressstream(self, it, opts=None):
   625     def compressstream(self, it, opts=None):
   624         return it
   626         return it
   625 
   627 
   626     def decompressorreader(self, fh):
   628     def decompressorreader(self, fh):