##// END OF EJS Templates
crecord: avoid duplicating lines when reverting noeol->eol change...
Kyle Lippincott -
r49910:079197e9 default
parent child Browse files
Show More
@@ -505,7 +505,7 b' class uihunk(patchnode):'
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:])
@@ -68,6 +68,5 b' When a selected line is reverted to have'
68 $ do_revert
68 $ do_revert
69 reverting a
69 reverting a
70 $ cat a
70 $ cat a
71 0 (wdir known-bad-output !)
72 0 (no-eol)
71 0 (no-eol)
73
72
General Comments 0
You need to be logged in to leave comments. Login now