##// END OF EJS Templates
dispatch: fix silly blackbox entries when hg is interrupted...
Valentin Gatien-Baron -
r49855:91a60031 stable
parent child Browse files
Show More
@@ -287,7 +287,7 b' def _rundispatch(req):'
287 ferr.write(inst.format())
287 ferr.write(inst.format())
288 return -1
288 return -1
289
289
290 msg = _formatargs(req.args)
290 formattedargs = _formatargs(req.args)
291 starttime = util.timer()
291 starttime = util.timer()
292 ret = 1 # default of Python exit code on unhandled exception
292 ret = 1 # default of Python exit code on unhandled exception
293 try:
293 try:
@@ -326,7 +326,7 b' def _rundispatch(req):'
326 req.ui.log(
326 req.ui.log(
327 b"commandfinish",
327 b"commandfinish",
328 b"%s exited %d after %0.2f seconds\n",
328 b"%s exited %d after %0.2f seconds\n",
329 msg,
329 formattedargs,
330 return_code,
330 return_code,
331 duration,
331 duration,
332 return_code=return_code,
332 return_code=return_code,
General Comments 0
You need to be logged in to leave comments. Login now