branch | stable |
changeset 29862 | e7766022a61a |
parent 29327 | baab9ea4426c |
child 29937 | 2c302c654451 |
--- a/mercurial/crecord.py Fri Sep 02 15:20:59 2016 +0100 +++ b/mercurial/crecord.py Fri Sep 02 20:15:37 2016 +0000 @@ -387,7 +387,7 @@ contextlen = (len(self.before) + len(self.after) + removedconvertedtocontext) - if self.after and self.after[-1] == '\\ no newline at end of file\n': + if self.after and self.after[-1] == '\\ No newline at end of file\n': contextlen -= 1 fromlen = contextlen + self.removed tolen = contextlen + self.added