D1568: lfs: using workers in lfs prefetch
wlis (Wojciech Lis)
phabricator at mercurial-scm.org
Mon Dec 11 19:20:07 EST 2017
wlis planned changes to this revision.
wlis added a comment.
@mharbison72 you are right, the upload doesn't work because I removed the fliewithprogress wrapper around the file that adds couple functions that I didn't realize. That includes __len__.
Will fix very soon.
> # If uploading blobs, read data from local blobstore.
> - request.data = filewithprogress(localstore.vfs(oid), progress)
> + request.data = localstore.vfs(oid)
> request.get_method = lambda: 'PUT'
this line is at fault
To: wlis, #hg-reviewers, quark, mharbison72
Cc: mharbison72, quark, mercurial-devel
More information about the Mercurial-devel