mercurial/context.py
changeset 36715 b529e640015d
parent 36668 334da951a50b
parent 35831 0a7c59a4c835
child 36727 470df8c5b781
--- a/mercurial/context.py	Sat Mar 03 15:31:37 2018 -0800
+++ b/mercurial/context.py	Sun Mar 04 10:42:51 2018 -0500
@@ -1079,7 +1079,8 @@
                 hist[f] = curr
                 del pcache[f]
 
-        return pycompat.ziplist(hist[base][0], hist[base][1].splitlines(True))
+        lineattrs, text = hist[base]
+        return pycompat.ziplist(lineattrs, mdiff.splitnewlines(text))
 
     def ancestors(self, followfirst=False):
         visit = {}