hgcia: fix diffstat support
authorMatt Mackall <mpm@selenic.com>
Thu, 05 Jan 2012 14:14:12 -0600
changeset 15776 55a85a55f020
parent 15775 91eb4512edd0
child 15777 12309c09d19a
hgcia: fix diffstat support
hgext/hgcia.py
--- a/hgext/hgcia.py	Wed Jan 04 17:55:30 2012 -0600
+++ b/hgext/hgcia.py	Thu Jan 05 14:14:12 2012 -0600
@@ -113,7 +113,7 @@
                 # diffstat is stupid
                 self.name = 'cia'
             def write(self, data):
-                self.lines.append(data)
+                self.lines += data.splitlines(True)
             def close(self):
                 pass