diff mercurial/patch.py @ 37570:c4c8d0d1267f

diffhelpers: naming and whitespace cleanup
author Yuya Nishihara <yuya@tcha.org>
date Mon, 09 Apr 2018 20:52:54 +0900
parents f5833651ad07
children 0ea8b9576d7c
line wrap: on
line diff
--- a/mercurial/patch.py	Mon Apr 09 20:51:23 2018 +0900
+++ b/mercurial/patch.py	Mon Apr 09 20:52:54 2018 +0900
@@ -1372,7 +1372,7 @@
     def _fixnewline(self, lr):
         l = lr.readline()
         if l.startswith('\ '):
-            diffhelpers.fix_newline(self.hunk, self.a, self.b)
+            diffhelpers.fixnewline(self.hunk, self.a, self.b)
         else:
             lr.push(l)