Mercurial > public > mercurial-scm > hg-stable
diff hgext/hgcia.py @ 10611:e764f24a45ee
patch/diff: move patch.export() to cmdutil.export()
This API change will allow us to break a cycle between patch and cmdutil.
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Mon, 08 Mar 2010 19:43:24 +0100 |
parents | 076e8a8000a3 |
children | 26e413f55b5e |
line wrap: on
line diff
--- a/hgext/hgcia.py Mon Mar 08 11:12:48 2010 -0600 +++ b/hgext/hgcia.py Mon Mar 08 19:43:24 2010 +0100 @@ -113,7 +113,7 @@ n = self.ctx.node() pbuf = patchbuf() - patch.export(self.cia.repo, [n], fp=pbuf) + cmdutil.export(self.cia.repo, [n], fp=pbuf) return patch.diffstat(pbuf.lines) or '' def logmsg(self):