revlog: pass sidedata argument to flagutil.processflagswrite()
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 07 Nov 2020 16:36:19 -0800
changeset 45864 11842aad3195
parent 45863 68aedad4c11c
child 45865 d7a508a75d72
revlog: pass sidedata argument to flagutil.processflagswrite() Bug found through pytype. Differential Revision: https://phab.mercurial-scm.org/D9280
mercurial/revlog.py
--- a/mercurial/revlog.py	Sat Nov 07 16:45:58 2020 -0800
+++ b/mercurial/revlog.py	Sat Nov 07 16:36:19 2020 -0800
@@ -1819,7 +1819,7 @@
         elif operation == b'read':
             return flagutil.processflagsread(self, text, flags)
         else:  # write operation
-            return flagutil.processflagswrite(self, text, flags)
+            return flagutil.processflagswrite(self, text, flags, None)
 
     def revision(self, nodeorrev, _df=None, raw=False):
         """return an uncompressed revision of a given node or revision