Mercurial > evolve
changeset 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 | 12a0805fca23 |
files | hgext/evolve.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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)