diff -r d7ce6e56b070 -r 0fd3862ef425 mercurial/hook.py --- a/mercurial/hook.py Wed Nov 12 21:53:44 2014 +0900 +++ b/mercurial/hook.py Wed Nov 12 22:21:51 2014 +0900 @@ -131,10 +131,7 @@ cwd = repo.root else: cwd = os.getcwd() - if 'HG_URL' in env and env['HG_URL'].startswith('remote:http'): - r = util.system(cmd, environ=env, cwd=cwd, out=ui) - else: - r = util.system(cmd, environ=env, cwd=cwd, out=ui.fout) + r = util.system(cmd, environ=env, cwd=cwd, out=ui.fout) duration = time.time() - starttime ui.log('exthook', 'exthook-%s: %s finished in %0.2f seconds\n',