hgext/hgk.py
changeset 7308 b6f5490effbf
parent 7000 af694c6a888c
child 7598 26adfaccdf73
--- 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']: