diff -r 573734e7e6d0 -r 94ca38e63576 hgext/hgk.py --- 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']: