changeset 51313 | 178e50edb4f8 |
parent 51178 | dcaa2df1f688 |
child 51314 | 5b3b6db49bbb |
--- a/mercurial/changelog.py Thu Jan 11 17:52:13 2024 +0100 +++ b/mercurial/changelog.py Thu Jan 11 16:35:52 2024 +0100 @@ -369,8 +369,9 @@ else: new_index_file = self._inner.finalize_pending() self._indexfile = new_index_file - # split when we're done - self._enforceinlinesize(tr, side_write=False) + if self._inline: + msg = 'changelog should not be inline at that point' + raise error.ProgrammingError(msg) def _writepending(self, tr): """create a file containing the unfinalized state for