Mercurial > vim-lawrencium
changeset 112:b051b81cc365
Fix double escaping when Lawrencium is stored in a folder with spaces.
Kudos to Gareth Phillips for pointing out the solution :)
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 10 Dec 2014 21:50:48 -0800 |
parents | 01edb7c58e0c |
children | 8718e6dbea1e |
files | plugin/lawrencium.vim |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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