diff -r 736f92c44656 -r 7356e6b1f5b8 mercurial/util.py --- a/mercurial/util.py Wed Oct 12 12:22:18 2016 +0200 +++ b/mercurial/util.py Fri Oct 14 01:53:15 2016 +0200 @@ -1684,9 +1684,9 @@ return ''.join(buf) -def filechunkiter(f, size=65536, limit=None): +def filechunkiter(f, size=131072, limit=None): """Create a generator that produces the data in the file size - (default 65536) bytes at a time, up to optional limit (default is + (default 131072) bytes at a time, up to optional limit (default is to read all data). Chunks may be less than size bytes if the chunk is the last chunk in the file, or the file is a socket or some other type of file that sometimes reads less data than is