diff hgext/lfs/wrapper.py @ 42988:f4caf910669e

flagprocessors: writetransform function take side data as parameter (API) If we want some flag processors to be able to store sidedata it needs to be actually fed that data. Differential Revision: https://phab.mercurial-scm.org/D6816
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 04 Sep 2019 00:53:27 +0200
parents bd5858c28bbe
children 2372284d9457
line wrap: on
line diff
--- a/hgext/lfs/wrapper.py	Tue Sep 03 23:51:17 2019 +0200
+++ b/hgext/lfs/wrapper.py	Wed Sep 04 00:53:27 2019 +0200
@@ -106,7 +106,7 @@
 
     return (text, True, {})
 
-def writetostore(self, text):
+def writetostore(self, text, sidedata):
     # hg filelog metadata (includes rename, etc)
     hgmeta, offset = storageutil.parsemeta(text)
     if offset and offset > 0: