hgext/evolve.py
changeset 897 b5227608d9dd
parent 896 484886a2712d
child 898 934b6f0feffd
--- 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