On Fri, Mar 9, 2012 at 10:15, Ben Fritz <[email protected]> wrote:
>
> Probably you need escape spaces with a backslash (as well as some other 
> characters like % and #). What is the exact command you used which gave you 
> this error?
>
> Also possibly you could use fnameescape() depending on how you invoke the 
> command.

Bingo!  Changing vimdiff configuration in .hgrc from:

  opts.vimdiff  = -f '+next' '+execute "DirDiff" argv(0) argv(1)'

to

  opts.vimdiff  = -f '+next' '+execute "DirDiff" fnameescape(argv(0))
fnameescape(argv(1))'

fixes the problem.

Thanks...Stephen

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to