Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hook.py @ 23270:41c03b7592ed
util.system: use ui.system() in place of optional ui.fout parameter
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 08 Nov 2014 13:06:22 +0900 |
parents | 0fd3862ef425 |
children | 19ebd2f88fc7 |
line wrap: on
line diff
--- a/mercurial/hook.py Sat Nov 08 12:57:42 2014 +0900 +++ b/mercurial/hook.py Sat Nov 08 13:06:22 2014 +0900 @@ -131,7 +131,7 @@ cwd = repo.root else: cwd = os.getcwd() - r = util.system(cmd, environ=env, cwd=cwd, out=ui.fout) + r = ui.system(cmd, environ=env, cwd=cwd) duration = time.time() - starttime ui.log('exthook', 'exthook-%s: %s finished in %0.2f seconds\n',