changeset 45864:11842aad3195

revlog: pass sidedata argument to flagutil.processflagswrite() Bug found through pytype. Differential Revision: https://phab.mercurial-scm.org/D9280
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 07 Nov 2020 16:36:19 -0800
parents 68aedad4c11c
children d7a508a75d72
files mercurial/revlog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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