# HG changeset patch # User Ludovic Chabant # Date 1418277048 28800 # Node ID b051b81cc3650708d6e233f3a4318d1d9afcad90 # Parent 01edb7c58e0c6d632603d5857bf0d508b9579b1d Fix double escaping when Lawrencium is stored in a folder with spaces. Kudos to Gareth Phillips for pointing out the solution :) diff -r 01edb7c58e0c -r b051b81cc365 plugin/lawrencium.vim --- a/plugin/lawrencium.vim Thu Dec 04 11:09:19 2014 +1100 +++ b/plugin/lawrencium.vim Wed Dec 10 21:50:48 2014 -0800 @@ -697,9 +697,9 @@ let l:log_cmd = "log " . l:log_opts if a:path_parts['path'] == '' - call a:repo.ReadCommandOutput(l:log_cmd, '--style', shellescape(s:log_style_file)) + call a:repo.ReadCommandOutput(l:log_cmd, '--style', s:log_style_file) else - call a:repo.ReadCommandOutput(l:log_cmd, '--style', shellescape(s:log_style_file), a:full_path) + call a:repo.ReadCommandOutput(l:log_cmd, '--style', s:log_style_file, a:full_path) endif setlocal filetype=hglog endfunction