##// END OF EJS Templates
worker: flush messages written by child processes before exit...
Yuya Nishihara -
r31118:a91c6275 stable
parent child Browse files
Show More
@@ -148,12 +148,16 def _posixworker(ui, func, staticargs, a
148 148 # may do some clean-ups which could cause surprises like deadlock.
149 149 # see sshpeer.cleanup for example.
150 150 try:
151 try:
151 152 scmutil.callcatch(ui, workerfunc)
153 finally:
154 ui.flush()
152 155 except KeyboardInterrupt:
153 156 os._exit(255)
154 157 except: # never return, therefore no re-raises
155 158 try:
156 159 ui.traceback()
160 ui.flush()
157 161 finally:
158 162 os._exit(255)
159 163 else:
@@ -84,7 +84,8 update with worker processes
84 84
85 85 $ hg update null
86 86 0 files updated, 0 files merged, 100 files removed, 0 files unresolved
87 $ hg update
87 $ hg update -v | grep 100
88 getting 100
88 89 100 files updated, 0 files merged, 0 files removed, 0 files unresolved
89 90
90 91 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now