hgext/largefiles/proto.py
changeset 30475 2add671bf55b
parent 30181 7356e6b1f5b8
child 35357 576ba8194fa8
--- a/hgext/largefiles/proto.py	Sun Nov 20 13:55:53 2016 -0800
+++ b/hgext/largefiles/proto.py	Sun Nov 20 13:50:45 2016 -0800
@@ -76,7 +76,7 @@
         yield '%d\n' % length
         for chunk in util.filechunkiter(f):
             yield chunk
-    return wireproto.streamres(generator())
+    return wireproto.streamres(gen=generator())
 
 def statlfile(repo, proto, sha):
     '''Server command for checking if a largefile is present - returns '2\n' if