equal
deleted
inserted
replaced
248 req.ui.flush() |
248 req.ui.flush() |
249 if req.ui.logblockedtimes: |
249 if req.ui.logblockedtimes: |
250 req.ui._blockedtimes['command_duration'] = duration * 1000 |
250 req.ui._blockedtimes['command_duration'] = duration * 1000 |
251 req.ui.log('uiblocked', 'ui blocked ms', |
251 req.ui.log('uiblocked', 'ui blocked ms', |
252 **pycompat.strkwargs(req.ui._blockedtimes)) |
252 **pycompat.strkwargs(req.ui._blockedtimes)) |
253 req.ui.log("commandfinish", "%s exited %d after %0.2f seconds\n", |
253 return_code = ret & 255 |
254 msg, ret & 255, duration, |
254 req.ui.log( |
255 canonical_command=req.canonical_command) |
255 "commandfinish", |
|
256 "%s exited %d after %0.2f seconds\n", |
|
257 msg, |
|
258 return_code, |
|
259 duration, |
|
260 return_code=return_code, |
|
261 duration=duration, |
|
262 canonical_command=req.canonical_command, |
|
263 ) |
256 try: |
264 try: |
257 req._runexithandlers() |
265 req._runexithandlers() |
258 except: # exiting, so no re-raises |
266 except: # exiting, so no re-raises |
259 ret = ret or -1 |
267 ret = ret or -1 |
260 return ret |
268 return ret |