diff -r 3e2a878fb96f -r 962974a5d068 mercurial/revlog.py --- a/mercurial/revlog.py Sat Dec 02 02:13:23 2023 +0100 +++ b/mercurial/revlog.py Wed Dec 06 15:38:15 2023 +0100 @@ -783,6 +783,7 @@ def split_inline(self, tr, header, new_index_file_path=None): """split the data of an inline revlog into an index and a data file""" + assert self._delay_buffer is None existing_handles = False if self._writinghandles is not None: existing_handles = True