hgext/largefiles/proto.py
changeset 36070 90ca4986616c
parent 36067 caca3ac2ac04
child 36074 2f7290555c96
--- a/hgext/largefiles/proto.py	Wed Feb 07 20:24:22 2018 -0800
+++ b/hgext/largefiles/proto.py	Thu Feb 01 17:12:07 2018 -0800
@@ -40,7 +40,7 @@
         tmpfp = util.atomictempfile(path, createmode=repo.store.createmode)
 
         try:
-            proto.getfile(tmpfp)
+            proto.forwardpayload(tmpfp)
             tmpfp._fp.seek(0)
             if sha != lfutil.hexsha1(tmpfp._fp):
                 raise IOError(0, _('largefile contents do not match hash'))