changeset 6925 | 87abfefafe02 |
parent 6795 | c228ae4bc89c |
child 6926 | 57b954d8d003 |
6924:e8332c8108ff | 6925:87abfefafe02 |
---|---|
191 fp.close() |
191 fp.close() |
192 os.unlink(tempname) |
192 os.unlink(tempname) |
193 |
193 |
194 def stream_out(repo, req): |
194 def stream_out(repo, req): |
195 req.respond(HTTP_OK, HGTYPE) |
195 req.respond(HTTP_OK, HGTYPE) |
196 streamclone.stream_out(repo, req, untrusted=True) |
196 try: |
197 return [] |
197 for chunk in streamclone.stream_out(repo, untrusted=True): |
198 yield chunk |
|
199 except streamclone.StreamException, inst: |
|
200 yield str(inst) |