hgext/largefiles/overrides.py
changeset 30181 7356e6b1f5b8
parent 30142 3dcaf1c4e90d
child 30215 438173c41587
--- a/hgext/largefiles/overrides.py	Wed Oct 12 12:22:18 2016 +0200
+++ b/hgext/largefiles/overrides.py	Fri Oct 14 01:53:15 2016 +0200
@@ -1356,7 +1356,7 @@
                               'downloaded')  % lf)
                 path = lfutil.usercachepath(repo.ui, hash)
                 with open(path, "rb") as fpin:
-                    for chunk in util.filechunkiter(fpin, 128 * 1024):
+                    for chunk in util.filechunkiter(fpin):
                         fp.write(chunk)
         err = 0
     return err