mercurial/util.py
changeset 30437 64d7275445d0
parent 30418 1156ec81f709
child 30438 90933e4e44fd
--- a/mercurial/util.py	Thu Nov 10 22:26:35 2016 -0800
+++ b/mercurial/util.py	Thu Nov 10 23:03:48 2016 -0800
@@ -3047,6 +3047,15 @@
         """
         raise NotImplementedError()
 
+    def available(self):
+        """Whether the compression engine is available.
+
+        The intent of this method is to allow optional compression engines
+        that may not be available in all installations (such as engines relying
+        on C extensions that may not be present).
+        """
+        return True
+
     def bundletype(self):
         """Describes bundle identifiers for this engine.