mercurial/utils/compression.py
changeset 46122 84130fd74a22
parent 45957 89a2afe31e82
child 46789 471cd86c8eb4
--- 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