Re: Bug report -- space in env. var. VISUAL causes commits to fail (needs confirmation)
From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 7 Dec 2010 17:03:01 +0200
David Dyer-Bennet wrote on Tue, Dec 07, 2010 at 08:44:28 -0600:
The following syntaxes work for me:
% SVN_EDITOR="'$HOME/pre fix/bin/vim' +%d" $svn mkdir file:///tmp/svn/r1/foo3
(the +%d is there both to prove to myself that it's not simply falling
> sh-3.2$ export VISUAL='"/home/path with spaces/bin/emacs"'
Why is basename(1) invoked here?
(That's almost certainly something in your configuration.)
> Try `basename --help' for more information.
> And, in any case, VISUAL is a public interface, and I wonder how many
Morale: don't use paths with spaces.
This is an archived mail posted to the Subversion Dev mailing list.