mercurial/patch.py
changeset 37570 c4c8d0d1267f
parent 37568 f5833651ad07
child 37571 0ea8b9576d7c
--- 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)