revlog: add one more assert about state of thing when splitting
This assert is currently happy, but it does not hurt to adds it to clarify
expected state and catch potential error in the future.
--- 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