Submitter | Yuya Nishihara |
---|---|
Date | Nov. 12, 2014, 2:38 p.m. |
Message ID | <161acee216ffa2782b08.1415803081@mimosa> |
Download | mbox | patch |
Permalink | /patch/6687/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/hook.py b/mercurial/hook.py --- a/mercurial/hook.py +++ b/mercurial/hook.py @@ -131,10 +131,7 @@ def _exthook(ui, repo, name, cmd, args, 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',