diff -r 56380212d630 -r b6f5490effbf hgext/hgk.py --- a/hgext/hgk.py Mon Nov 03 16:31:47 2008 +0100 +++ b/hgext/hgk.py Mon Nov 03 16:48:23 2008 +0100 @@ -92,8 +92,10 @@ if opts['pretty']: catcommit(ui, repo, node2, "") m = cmdutil.match(repo, files) - patch.diff(repo, node1, node2, match=m, - opts=patch.diffopts(ui, {'git': True})) + chunks = patch.diff(repo, node1, node2, match=m, + opts=patch.diffopts(ui, {'git': True})) + for chunk in chunks: + repo.ui.write(chunk) else: __difftree(repo, node1, node2, files=files) if not opts['stdin']: