# HG changeset patch # User Olle Lundberg # Date 1397337313 -7200 # Node ID b5227608d9dd83306ebe905775517f435a1a13fd # Parent 484886a2712d35e86391c8d7c289b26d6575be64 evolve: use new api _callcompressable This changeset makes evolve compatible with the change introduced in 167047ba3cfa diff -r 484886a2712d -r b5227608d9dd hgext/evolve.py --- 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