hgext/hgcia.py
changeset 15776 55a85a55f020
parent 14850 a95242af945c
child 16688 cfb6682961b8
equal deleted inserted replaced
15775:91eb4512edd0 15776:55a85a55f020
   111             def __init__(self):
   111             def __init__(self):
   112                 self.lines = []
   112                 self.lines = []
   113                 # diffstat is stupid
   113                 # diffstat is stupid
   114                 self.name = 'cia'
   114                 self.name = 'cia'
   115             def write(self, data):
   115             def write(self, data):
   116                 self.lines.append(data)
   116                 self.lines += data.splitlines(True)
   117             def close(self):
   117             def close(self):
   118                 pass
   118                 pass
   119 
   119 
   120         n = self.ctx.node()
   120         n = self.ctx.node()
   121         pbuf = patchbuf()
   121         pbuf = patchbuf()