changeset 15776:55a85a55f020

hgcia: fix diffstat support
author Matt Mackall <mpm@selenic.com>
date Thu, 05 Jan 2012 14:14:12 -0600
parents 91eb4512edd0
children 12309c09d19a
files hgext/hgcia.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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