diff mercurial/revlog.py @ 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 a5206e71c536
children 63edc384d3b7
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