changeset 30181 | 7356e6b1f5b8 |
parent 29312 | 29139be0ccc7 |
child 30466 | 2add671bf55b |
--- a/hgext/largefiles/proto.py Wed Oct 12 12:22:18 2016 +0200 +++ b/hgext/largefiles/proto.py Fri Oct 14 01:53:15 2016 +0200 @@ -134,7 +134,7 @@ length)) # SSH streams will block if reading more than length - for chunk in util.filechunkiter(stream, 128 * 1024, length): + for chunk in util.filechunkiter(stream, limit=length): yield chunk # HTTP streams must hit the end to process the last empty # chunk of Chunked-Encoding so the connection can be reused.