Show More
@@ -265,12 +265,12 b' def runhooks(ui, repo, htype, hooks, thr' | |||
|
265 | 265 | raised = False |
|
266 | 266 | |
|
267 | 267 | res[hname] = r, raised |
|
268 | finally: | |
|
269 | # The stderr is fully buffered on Windows when connected to a pipe. | |
|
270 | # A forcible flush is required to make small stderr data in the | |
|
271 | # remote side available to the client immediately. | |
|
272 | util.stderr.flush() | |
|
268 | 273 | |
|
269 | # The stderr is fully buffered on Windows when connected to a pipe. | |
|
270 | # A forcible flush is required to make small stderr data in the | |
|
271 | # remote side available to the client immediately. | |
|
272 | util.stderr.flush() | |
|
273 | finally: | |
|
274 | 274 | if _redirect and oldstdout >= 0: |
|
275 | 275 | util.stdout.flush() # write hook output to stderr fd |
|
276 | 276 | os.dup2(oldstdout, stdoutno) |
General Comments 0
You need to be logged in to leave comments.
Login now