Mercurial > evolve
diff hgext/evolve.py @ 1792:99ede2d77545 stable
exchange: fix compatibility layer
We forgot a return into some compatibility layer. This is now fixed.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Wed, 01 Feb 2017 16:05:21 +0100 |
parents | d4ce86ac5024 |
children | 5217c745bb60 |
line wrap: on
line diff
--- 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)