--editor-cmd option of the 'pe' subcommand did not work if the path of the external text editor contains space
From: Claude Xu <cloudxu.sh_at_gmail.com>
Date: Wed, 3 Feb 2010 13:23:32 +0800
I found the --editor-cmd option of the 'pe' subcommand did not work if the
Operating System: Microsoft Windows XP Professional Version 2002 Service
Release of Subversion: version 1.6.4 (r38063)
Compiler: No compiler. I used the binary installation file.
Configuration: No special configuration. I just enable the password option.
Private Modification: None
Here is the command I used under command-line console:
C:\temp\svn_trunk>svn pe --editor-cmd "C:\Program Files\Vim\vim72\gvim.exe"
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
svn: system('C:\Program Files\Vim\vim72\gvim.exe svn-prop.tmp') returned 1
The space was still treated as a special separator. Then I tried to escape
C:\temp\svn_trunk>svn pe --editor-cmd "C:\Program^ Files\Vim\vim72\gvim.exe"
It did invoke the external text editor, in this case is vim, successfully
I also tested this feature on Windows 2000 Ad Server and the result was the
I would like to know whether this is a bug. Thanks.
This is an archived mail posted to the Subversion Dev mailing list.