mercurial/localrepo.py
changeset 42135 b970fece153d
parent 42127 70b71421fd33
child 42136 10a6725dca6e
--- a/mercurial/localrepo.py	Mon Apr 15 19:21:41 2019 +0300
+++ b/mercurial/localrepo.py	Tue Apr 16 15:10:16 2019 +0200
@@ -643,7 +643,7 @@
     # Add derived requirements from registered compression engines.
     for name in util.compengines:
         engine = util.compengines[name]
-        if engine.revlogheader():
+        if engine.available() and engine.revlogheader():
             supported.add(b'exp-compression-%s' % name)
 
     return supported