--- a/hgext/lfs/wrapper.py Mon Dec 04 21:41:04 2017 -0500
+++ b/hgext/lfs/wrapper.py Fri Nov 17 00:06:45 2017 -0500
@@ -54,7 +54,9 @@
if not store.has(oid):
p.filename = getattr(self, 'indexfile', None)
self.opener.lfsremoteblobstore.readbatch([p], store)
- text = store.read(oid)
+
+ # The caller will validate the content
+ text = store.read(oid, verify=False)
# pack hg filelog metadata
hgmeta = {}
@@ -76,7 +78,7 @@
# git-lfs only supports sha256
oid = hashlib.sha256(text).hexdigest()
- self.opener.lfslocalblobstore.write(oid, text)
+ self.opener.lfslocalblobstore.write(oid, text, verify=False)
# replace contents with metadata
longoid = 'sha256:%s' % oid