hgext/hgcia.py
changeset 10611 e764f24a45ee
parent 10529 076e8a8000a3
child 11750 26e413f55b5e
equal deleted inserted replaced
10610:eea2db5f56ba 10611:e764f24a45ee
   111             def close(self):
   111             def close(self):
   112                 pass
   112                 pass
   113 
   113 
   114         n = self.ctx.node()
   114         n = self.ctx.node()
   115         pbuf = patchbuf()
   115         pbuf = patchbuf()
   116         patch.export(self.cia.repo, [n], fp=pbuf)
   116         cmdutil.export(self.cia.repo, [n], fp=pbuf)
   117         return patch.diffstat(pbuf.lines) or ''
   117         return patch.diffstat(pbuf.lines) or ''
   118 
   118 
   119     def logmsg(self):
   119     def logmsg(self):
   120         diffstat = self.cia.diffstat and self.diffstat() or ''
   120         diffstat = self.cia.diffstat and self.diffstat() or ''
   121         self.cia.ui.pushbuffer()
   121         self.cia.ui.pushbuffer()