sapling/edenscm/hgext/lfs
Johan Schuijt-Li 77f0d3fd04 lfs: rewind fp on retries
Summary:
To avoid the scenario where we are incorrectly uploading the data that we're
supposed to upload, we need to reset the file pointer to read from the
beginning so that for each retry of uploading we get the correct data.

Previously before this patch, Mercurial would have nothing to upload on a retry
and the connection would 'hang' waiting for the data to be send to the server.

Reviewed By: krallin

Differential Revision: D16620072

fbshipit-source-id: 2238b99ff612e06dc0640717bc42fe345c35037d
2019-08-02 05:15:57 -07:00
..
__init__.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
blobstore.py lfs: rewind fp on retries 2019-08-02 05:15:57 -07:00
pointer.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
wrapper.py hg: fix lfs and journal extension postshare wrapping 2019-02-07 18:58:40 -08:00