hgext/largefiles/proto.py
changeset 35750 a39a9df7ecca
parent 35507 95a9be56c3bb
child 36067 caca3ac2ac04
--- a/hgext/largefiles/proto.py	Fri Jan 19 12:33:03 2018 -0800
+++ b/hgext/largefiles/proto.py	Fri Jan 12 10:59:58 2018 +0100
@@ -75,7 +75,7 @@
         yield '%d\n' % length
         for chunk in util.filechunkiter(f):
             yield chunk
-    return wireproto.streamres(gen=generator())
+    return wireproto.streamres_legacy(gen=generator())
 
 def statlfile(repo, proto, sha):
     '''Server command for checking if a largefile is present - returns '2\n' if