Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
8614:573734e7e6d0 | 8615:94ca38e63576 |
---|---|
94 catcommit(ui, repo, node2, "") | 94 catcommit(ui, repo, node2, "") |
95 m = cmdutil.match(repo, files) | 95 m = cmdutil.match(repo, files) |
96 chunks = patch.diff(repo, node1, node2, match=m, | 96 chunks = patch.diff(repo, node1, node2, match=m, |
97 opts=patch.diffopts(ui, {'git': True})) | 97 opts=patch.diffopts(ui, {'git': True})) |
98 for chunk in chunks: | 98 for chunk in chunks: |
99 repo.ui.write(chunk) | 99 ui.write(chunk) |
100 else: | 100 else: |
101 __difftree(repo, node1, node2, files=files) | 101 __difftree(repo, node1, node2, files=files) |
102 if not opts['stdin']: | 102 if not opts['stdin']: |
103 break | 103 break |
104 | 104 |