compat: just use '_callcompressable'
That API is available in all version we supports.
--- a/hgext3rd/evolve/__init__.py Tue Feb 28 14:31:18 2017 +0100
+++ b/hgext3rd/evolve/__init__.py Tue Feb 28 14:31:28 2017 +0100
@@ -3758,11 +3758,7 @@
opts['heads'] = wireproto.encodelist(heads)
if common is not None:
opts['common'] = wireproto.encodelist(common)
- if util.safehasattr(self, '_callcompressable'):
- f = self._callcompressable("evoext_pullobsmarkers_0", **opts)
- else:
- f = self._callstream("evoext_pullobsmarkers_0", **opts)
- f = self._decompress(f)
+ f = self._callcompressable("evoext_pullobsmarkers_0", **opts)
length = int(f.read(20))
chunk = 4096
current = 0