--- a/mercurial/utils/compression.py Thu Nov 12 10:41:03 2020 -0800
+++ b/mercurial/utils/compression.py Sun Dec 13 00:19:03 2020 +0100
@@ -617,8 +617,10 @@
def wireprotosupport(self):
return compewireprotosupport(b'none', 0, 10)
- # We don't implement revlogheader because it is handled specially
- # in the revlog class.
+ # revlog special cases the uncompressed case, but implementing
+ # revlogheader allows forcing uncompressed storage.
+ def revlogheader(self):
+ return b'\0'
def compressstream(self, it, opts=None):
return it