exchange: fix compatibility layer stable
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Wed, 01 Feb 2017 16:05:21 +0100
branchstable
changeset 1792 99ede2d77545
parent 1790 d4ce86ac5024
child 1793 12a0805fca23
exchange: fix compatibility layer We forgot a return into some compatibility layer. This is now fixed.
hgext/evolve.py
--- a/hgext/evolve.py	Wed Feb 01 15:08:03 2017 +0100
+++ b/hgext/evolve.py	Wed Feb 01 16:05:21 2017 +0100
@@ -3856,11 +3856,11 @@
 if util.safehasattr(wireproto.abstractserverproto, 'groupchunks'):
     # We need to handle chunking and compression directly
     def streamres(d, proto):
-        wireproto.streamres(proto.groupchunks(d))
+        return wireproto.streamres(proto.groupchunks(d))
 else:
     # Leave chunking and compression to streamres
     def streamres(d, proto):
-        wireproto.streamres(reader=d, v1compressible=True)
+        return wireproto.streamres(reader=d, v1compressible=True)
 
 def srv_pullobsmarkers(repo, proto, others):
     opts = wireproto.options('', ['heads', 'common'], others)