Submitter | Gregory Szorc |
---|---|
Date | Nov. 11, 2016, 9:23 a.m. |
Message ID | <13fccc619c0d8627d05d.1478856215@ubuntu-vm-main> |
Download | mbox | patch |
Permalink | /patch/17470/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -2955,6 +2955,15 @@ class compressionengine(object): """ 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.