diff -r e2fc2122029c -r 4c706037adef mercurial/peer.py --- a/mercurial/peer.py Wed Aug 09 22:52:05 2017 -0700 +++ b/mercurial/peer.py Wed Aug 09 23:29:30 2017 -0700 @@ -69,7 +69,8 @@ def results(self): for name, args, opts, resref in self.calls: - yield getattr(self.local, name)(*args, **opts) + resref.set(getattr(self.local, name)(*args, **opts)) + yield resref.value def batchable(f): '''annotation for batchable methods