Mercurial > vim-lawrencium
changeset 17:5c6c605d0660
Better output for `hg commit`.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 13 Dec 2011 17:18:08 -0800 |
parents | 724f6db3baa2 |
children | 4f04d5e052eb |
files | plugin/lawrencium.vim |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugin/lawrencium.vim Tue Dec 13 17:17:03 2011 -0800 +++ b/plugin/lawrencium.vim Tue Dec 13 17:18:08 2011 -0800 @@ -598,7 +598,9 @@ let l:output = l:repo.RunCommand('commit', '-l', a:log_file) if a:show_output && l:output !~# '\v%^\s*%$' call s:trace("Output from hg commit:", 1) - echom l:output + for l:output_line in split(l:output, '\n') + echom l:output_line + endfor endif endfunction