Closed GoogleCodeExporter closed 8 years ago
Where is SVN installed on your system?
When you execute ':!svn info .', is your working directory the same as the
directory of the file in question?
What values of VCSCommandSVNExec did you try?
Original comment by bob.hies...@gmail.com
on 23 Apr 2013 at 8:44
Here is the value I use on Windows 7, gvim 7.3:
let g:VCSCommandSVNExec='c:\Program Files\TortoiseSVN\bin\svn.exe'
Original comment by bob.hies...@gmail.com
on 23 Apr 2013 at 8:52
Yes I am in my repository when I executed ':!svn info .' and there is a '.svn'
directory.
My svn command is in the $PATH and located at 'C:/Program Files\
(x86)/utils/svn.exe'
So I tried
- let g:VCSCommandSVNExec='C:/Program Files\ (x86)/utils/svn.exe' no suitable
plugin
- let VCSCommandSVNExec="C:\Program Files (x86)\utils\svn.exe" looks like it
doesn't like the space
and any of these combinations with single/double quotes, forward/backward
slashes, escaping the spaces and now with the global 'g:' as prefix.
Any further clues?
Original comment by oti...@googlemail.com
on 24 Apr 2013 at 7:06
I'd guess it's the parentheses in the path. I'll take a look.
Original comment by bob.hies...@gmail.com
on 24 Apr 2013 at 2:52
Parentheses seem to work okay. A few questions:
1. Did you try with svn in your PATH but *without* setting VCSCommandSVNExec?
I haven't seen that fail before.
2. Neither of the sample VCSCommandSVNExec looks right. Could you please try:
let g:VCSCommandSVNExec='C:\Program Files (x86)\utils\svn.exe'
Single vs double quote is significant here.
Original comment by bob.hies...@gmail.com
on 24 Apr 2013 at 3:14
1.)
I get an error: VCSCommand: Version control command failed: The command "svn"
diff --non-interactive -- "filename" is misspelled or not found. This message
is freely translated from German into English. I hope you don't get it wrong.
2.)
Same result as in number 1...
Appreciate your help, but what am I doing wrong?
Original comment by oti...@googlemail.com
on 24 Apr 2013 at 3:56
Do you set any of the following options? What are their values?
shell
shelltype
shellpipe
shellslash
shellredir
shellquote
shellxquote
shellcmdflag
Original comment by bob.hies...@gmail.com
on 24 Apr 2013 at 4:13
I haven't set any of these values, at least not knowingly. Maybe another plugin
is messing with them?
Original comment by oti...@googlemail.com
on 25 Apr 2013 at 7:03
Could you please post their values? You can see if they're being set by doing:
:verbose set shell?
... for instance. On my system I see the following:
shell=C:\Windows\system32\cmd.exe
shellpipe=>%s 2>&1
noshellslash
shellredir=>%s 2>&1
shellquote=
shellxquote=(
shellcmdflag=/c
You can put the following in a script and :so it to get the settings:
redir => options
for option in [
\ 'shell',
\ 'shellpipe',
\ 'shellslash',
\ 'shellredir',
\ 'shellquote',
\ 'shellxquote',
\ 'shellcmdflag'
\ ]
execute 'verbose set' option . '?'
endfor
redir END
new
silent put =options
Original comment by bob.hies...@gmail.com
on 25 Apr 2013 at 4:18
[deleted comment]
shell=C:\Windows\system32\cmd.exe
shellpipe=>%s 2>&1
shellslash
shellredir=>%s 2>&1
shellquote=
shellxquote=
shellcmdflag=/c
I have tried your values but with no success
I have tried your values for shellslash and shellxquote but with no success.
Original comment by oti...@googlemail.com
on 25 Apr 2013 at 5:00
What patchlevel is your gvim? It looks like your shellxquote should be changed.
When I change my sxq setting to empty, my command also fails.
Are you sure you tried just this?
set sxq=(
Original comment by bob.hies...@gmail.com
on 25 Apr 2013 at 7:40
My installed version is 7.3.46.
Yes I tried the 'set sxq=(' but the message was 'no suitable plugin'
Original comment by oti...@googlemail.com
on 26 Apr 2013 at 7:38
1. Had you previously had success with earlier versions of VCSCommand?
2. Are you in a position to update your VIM? That one's pretty old (October
2010). There were some improvements made in how running commands in shell work.
3. Did you set 'sxq' in your vimrc or after VIM was already loaded?
4. I've attached a copy of vcscommand.vim. Could you please use it and run:
:echo VCSCommandGetSupportedTypes()
?
Original comment by bob.hies...@gmail.com
on 26 Apr 2013 at 3:26
Attachments:
Works fine with the 7.3.829 version.
Thank you very much for your help.
Original comment by oti...@googlemail.com
on 29 Apr 2013 at 4:19
I'm glad to hear it.
Original comment by bob.hies...@gmail.com
on 29 Apr 2013 at 5:55
Original issue reported on code.google.com by
oti...@googlemail.com
on 23 Apr 2013 at 7:59