mercurial/sshserver.py
changeset 6794 8ff321a381d0
parent 6782 b9d6ab187523
child 6925 87abfefafe02
--- a/mercurial/sshserver.py	Sun Jun 29 14:20:01 2008 +0200
+++ b/mercurial/sshserver.py	Wed Jul 02 10:58:27 2008 +0200
@@ -204,6 +204,4 @@
                 os.unlink(tempname)
 
     def do_stream_out(self):
-        for chunk in streamclone.stream_out(self.repo):
-            self.fout.write(chunk)
-        self.fout.flush()
+        streamclone.stream_out(self.repo, self.fout)