# HG changeset patch # User Ludovic Chabant # Date 1601012883 25200 # Node ID 953baa4a16bb576946120bef382b8d20c131e95c # Parent 4aede5f1af458262b79f956c72fba3699c097300 Print P4's output when trace is enabled. diff -r 4aede5f1af45 -r 953baa4a16bb autoload/p44vim.vim --- a/autoload/p44vim.vim Wed Feb 11 15:03:01 2015 -0800 +++ b/autoload/p44vim.vim Thu Sep 24 22:48:03 2020 -0700 @@ -20,7 +20,11 @@ call extend(l:cmd, l:args) let l:strcmd = join(map(l:cmd, 'shellescape(v:val)')) call s:trace("Running command: ".l:strcmd) - silent call system(l:strcmd) + let l:cmd_out = system(l:strcmd) + if g:p44v_trace + call s:trace(l:cmd_out) + endif + return l:cmd_out endfunction function! s:get_p4_depot_root(path) abort