author | Michael Tjørnemark <michael@tjornemark.dk> |
Sun, 29 Apr 2012 20:58:50 +0200 | |
branch | stable |
changeset 16557 | 9dba55369cd8 |
parent 16556 | f9262456fb01 |
child 16559 | 038b389d80f5 |
--- a/mercurial/changegroup.py Sat Apr 28 23:01:31 2012 -0700 +++ b/mercurial/changegroup.py Sun Apr 29 20:58:50 2012 +0200 @@ -118,7 +118,7 @@ elif alg == 'GZ': def generator(f): zd = zlib.decompressobj() - for chunk in f: + for chunk in util.filechunkiter(f): yield zd.decompress(chunk) elif alg == 'BZ': def generator(f):