changeset 6925 | 87abfefafe02 |
parent 6795 | c228ae4bc89c |
child 6926 | 57b954d8d003 |
--- a/mercurial/hgweb/protocol.py Tue Jul 22 18:21:37 2008 +0200 +++ b/mercurial/hgweb/protocol.py Fri Aug 15 13:25:57 2008 +0200 @@ -193,5 +193,8 @@ def stream_out(repo, req): req.respond(HTTP_OK, HGTYPE) - streamclone.stream_out(repo, req, untrusted=True) - return [] + try: + for chunk in streamclone.stream_out(repo, untrusted=True): + yield chunk + except streamclone.StreamException, inst: + yield str(inst)