hgext/hgk.py
changeset 8615 94ca38e63576
parent 8459 1e63816ce8a2
child 8624 2b3dec0ef3ae
--- a/hgext/hgk.py	Sun May 24 16:38:29 2009 -0500
+++ b/hgext/hgk.py	Sun May 24 22:37:20 2009 +0200
@@ -96,7 +96,7 @@
             chunks = patch.diff(repo, node1, node2, match=m,
                                 opts=patch.diffopts(ui, {'git': True}))
             for chunk in chunks:
-                repo.ui.write(chunk)
+                ui.write(chunk)
         else:
             __difftree(repo, node1, node2, files=files)
         if not opts['stdin']: