evolve: use new api _callcompressable
This changeset makes evolve compatible with the change introduced in
167047ba3cfa
--- a/hgext/evolve.py Fri Apr 04 01:07:27 2014 +0200
+++ b/hgext/evolve.py Sat Apr 12 23:15:13 2014 +0200
@@ -2347,8 +2347,11 @@
opts['heads'] = wireproto.encodelist(heads)
if common is not None:
opts['common'] = wireproto.encodelist(common)
- f = self._callstream("evoext_pullobsmarkers_0", **opts)
- f = self._decompress(f)
+ if util.safehasattr(self, '_callcompressable'):
+ f = self._callcompressable("evoext_pullobsmarkers_0", **opts)
+ else:
+ f = self._callstream("evoext_pullobsmarkers_0", **opts)
+ f = self._decompress(f)
length= int(f.read(20))
chunk = 4096
current = 0