Mercurial > public > mercurial-scm > hg
comparison mercurial/hgweb/protocol.py @ 6794:8ff321a381d0
Backed out changeset b9d6ab187523 (doesn't work on Python 2.3/2.4)
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Wed, 02 Jul 2008 10:58:27 +0200 |
parents | b9d6ab187523 |
children | c228ae4bc89c |
comparison
equal
deleted
inserted
replaced
6782:b9d6ab187523 | 6794:8ff321a381d0 |
---|---|
203 fp.close() | 203 fp.close() |
204 os.unlink(tempname) | 204 os.unlink(tempname) |
205 | 205 |
206 def stream_out(repo, req): | 206 def stream_out(repo, req): |
207 req.respond(HTTP_OK, HGTYPE) | 207 req.respond(HTTP_OK, HGTYPE) |
208 for chunk in streamclone.stream_out(repo, untrusted=True): | 208 streamclone.stream_out(repo, req, untrusted=True) |
209 req.write(chunk) |