mercurial/hgweb/protocol.py
changeset 6794 8ff321a381d0
parent 6782 b9d6ab187523
child 6795 c228ae4bc89c
--- a/mercurial/hgweb/protocol.py	Sun Jun 29 14:20:01 2008 +0200
+++ b/mercurial/hgweb/protocol.py	Wed Jul 02 10:58:27 2008 +0200
@@ -205,5 +205,4 @@
 
 def stream_out(repo, req):
     req.respond(HTTP_OK, HGTYPE)
-    for chunk in streamclone.stream_out(repo, untrusted=True):
-        req.write(chunk)
+    streamclone.stream_out(repo, req, untrusted=True)