Show More
@@ -250,8 +250,10 b' def _posixworker(ui, func, staticargs, a' | |||||
250 | os.close(r) |
|
250 | os.close(r) | |
251 | os.close(w) |
|
251 | os.close(w) | |
252 | os.close(rfd) |
|
252 | os.close(rfd) | |
253 | for result in func(*(staticargs + (pargs,))): |
|
253 | with os.fdopen(wfd, 'wb') as wf: | |
254 | os.write(wfd, pickle.dumps(result)) |
|
254 | for result in func(*(staticargs + (pargs,))): | |
|
255 | pickle.dump(result, wf) | |||
|
256 | wf.flush() | |||
255 | return 0 |
|
257 | return 0 | |
256 |
|
258 | |||
257 | ret = scmutil.callcatch(ui, workerfunc) |
|
259 | ret = scmutil.callcatch(ui, workerfunc) |
General Comments 0
You need to be logged in to leave comments.
Login now