author | Yuya Nishihara <yuya@tcha.org> |
Mon, 09 Apr 2018 20:55:05 +0900 | |
changeset 37572 | c6b8d614690a |
parent 37571 | 0ea8b9576d7c |
child 37573 | 49b82cdb5983 |
--- a/mercurial/diffhelpers.py Mon Apr 09 20:54:00 2018 +0900 +++ b/mercurial/diffhelpers.py Mon Apr 09 20:55:05 2018 +0900 @@ -37,7 +37,6 @@ else: b.append(s[1:]) a.append(s) - return 0 def fixnewline(hunk, a, b): """Fix up the last lines of a and b when the patch has no newline at EOF""" @@ -53,7 +52,6 @@ if hline.startswith((' ', '-')): a[-1] = hline hunk[-1] = hline - return 0 def testhunk(a, b, bstart): """Compare the lines in a with the lines in b