diff -r 9a5d09d7f108 -r 079197e94b24 mercurial/crecord.py --- a/mercurial/crecord.py Tue Apr 05 11:09:57 2022 -0700 +++ b/mercurial/crecord.py Mon Apr 04 18:05:33 2022 -0700 @@ -505,7 +505,7 @@ text = line.linetext if line.linetext == diffhelper.MISSING_NEWLINE_MARKER: noeol = True - break + continue if line.applied: if text.startswith(b'+'): dels.append(text[1:])