mercurial/crecord.py
changeset 49034 079197e94b24
parent 48946 642e31cb55f0
child 50275 29d7a5a8b8c6
equal deleted inserted replaced
49033:9a5d09d7f108 49034:079197e94b24
   503         noeol = False
   503         noeol = False
   504         for line in self.changedlines:
   504         for line in self.changedlines:
   505             text = line.linetext
   505             text = line.linetext
   506             if line.linetext == diffhelper.MISSING_NEWLINE_MARKER:
   506             if line.linetext == diffhelper.MISSING_NEWLINE_MARKER:
   507                 noeol = True
   507                 noeol = True
   508                 break
   508                 continue
   509             if line.applied:
   509             if line.applied:
   510                 if text.startswith(b'+'):
   510                 if text.startswith(b'+'):
   511                     dels.append(text[1:])
   511                     dels.append(text[1:])
   512                 elif text.startswith(b'-'):
   512                 elif text.startswith(b'-'):
   513                     adds.append(text[1:])
   513                     adds.append(text[1:])