##// END OF EJS Templates
hook: write hook output to ui fout descriptor...
Idan Kamara -
r14711:ac70f8d5 stable
parent child Browse files
Show More
@@ -107,7 +107,7 b' def _exthook(ui, repo, name, cmd, args, '
107 if 'HG_URL' in env and env['HG_URL'].startswith('remote:http'):
107 if 'HG_URL' in env and env['HG_URL'].startswith('remote:http'):
108 r = util.system(cmd, environ=env, cwd=cwd, out=ui)
108 r = util.system(cmd, environ=env, cwd=cwd, out=ui)
109 else:
109 else:
110 r = util.system(cmd, environ=env, cwd=cwd)
110 r = util.system(cmd, environ=env, cwd=cwd, out=ui.fout)
111 if r:
111 if r:
112 desc, r = util.explainexit(r)
112 desc, r = util.explainexit(r)
113 if throw:
113 if throw:
General Comments 0
You need to be logged in to leave comments. Login now