# HG changeset patch
# User Gregory Szorc <gregory.szorc@gmail.com>
# Date 1604795779 28800
#      Sat Nov 07 16:36:19 2020 -0800
# Node ID 11842aad31956602eef1d62ac28057d6ba5a18a4
# Parent  68aedad4c11c346c8da0b131a990d940fa8687e8
revlog: pass sidedata argument to flagutil.processflagswrite()

Bug found through pytype.

Differential Revision: https://phab.mercurial-scm.org/D9280

diff --git a/mercurial/revlog.py b/mercurial/revlog.py
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -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