# HG changeset patch # User Ludovic Chabant # Date 1323825488 28800 # Node ID 5c6c605d06601935693c2d31a0c3b7a7a85d4c30 # Parent 724f6db3baa285560771c88d463998abb66184d3 Better output for `hg commit`. diff -r 724f6db3baa2 -r 5c6c605d0660 plugin/lawrencium.vim --- 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