Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/dispatch.py @ 41193:dd97354b8891
dispatch: add newline after ui.log "ui blocked ms" message
Differential Revision: https://phab.mercurial-scm.org/D5573
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 11 Jan 2019 13:11:49 -0800 |
parents | c93d046d4300 |
children | 2372284d9457 |
comparison
equal
deleted
inserted
replaced
41192:2338eab5f8b7 | 41193:dd97354b8891 |
---|---|
246 finally: | 246 finally: |
247 duration = util.timer() - starttime | 247 duration = util.timer() - starttime |
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\n', |
252 **pycompat.strkwargs(req.ui._blockedtimes)) | 252 **pycompat.strkwargs(req.ui._blockedtimes)) |
253 return_code = ret & 255 | 253 return_code = ret & 255 |
254 req.ui.log( | 254 req.ui.log( |
255 "commandfinish", | 255 "commandfinish", |
256 "%s exited %d after %0.2f seconds\n", | 256 "%s exited %d after %0.2f seconds\n", |