Patchwork D9280: revlog: pass sidedata argument to flagutil.processflagswrite()

login
register
mail settings
Submitter phabricator
Date Nov. 8, 2020, 1:23 a.m.
Message ID <differential-rev-PHID-DREV-vjduk67xnffuu54jb2nx-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/47555/
State Superseded
Headers show

Comments

phabricator - Nov. 8, 2020, 1:23 a.m.
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  Bug found through pytype.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D9280

AFFECTED FILES
  mercurial/revlog.py

CHANGE DETAILS




To: indygreg, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

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