Mercurial > public > mercurial-scm > hg-stable
diff hgext/hgk.py @ 8615:94ca38e63576
use ui instead of repo.ui when the former is in scope
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 24 May 2009 22:37:20 +0200 |
parents | 1e63816ce8a2 |
children | 2b3dec0ef3ae |
line wrap: on
line diff
--- 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']: