Mercurial > public > mercurial-scm > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
45863:68aedad4c11c | 45864:11842aad3195 |
---|---|
1817 if raw: | 1817 if raw: |
1818 return text, flagutil.processflagsraw(self, text, flags) | 1818 return text, flagutil.processflagsraw(self, text, flags) |
1819 elif operation == b'read': | 1819 elif operation == b'read': |
1820 return flagutil.processflagsread(self, text, flags) | 1820 return flagutil.processflagsread(self, text, flags) |
1821 else: # write operation | 1821 else: # write operation |
1822 return flagutil.processflagswrite(self, text, flags) | 1822 return flagutil.processflagswrite(self, text, flags, None) |
1823 | 1823 |
1824 def revision(self, nodeorrev, _df=None, raw=False): | 1824 def revision(self, nodeorrev, _df=None, raw=False): |
1825 """return an uncompressed revision of a given node or revision | 1825 """return an uncompressed revision of a given node or revision |
1826 number. | 1826 number. |
1827 | 1827 |