一、.Can't use Subversion command line client:svn
解决方法
IDEA中,出现了一个Can't use Subversion command line client:svn的错误。
工具/原料
-
IDEA
方法/步骤
这是IDEA掉用svn的时候没有命令行客户端导致的,这个需要重新安装一下就可以了,重行运行安装程序。
-
选择“Modify”
-
svn默认安装时,command line client tools是没有安装的
-
点击,选择“Entire feature will be installed on local hard drive”
-
然后,进入下一步
-
安装command line client tools
-
等待安装完成
-
然后,进入控制面板->系统页面
-
进入高级系统设置
-
在环境变量中加入“C:\Program Files\TortoiseSVN\bin”
二、IDEA从svn更新项目报错Error: ‘C:\Program‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件的处理办法
IDEA安装配置SNV的时候,提示“Error: ‘C:\Program‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件”
网上找方案,试过了:
1.替换处理“C:\progra~1\TortoiseSVN\bin\svn.exe”
2.C:\Program Files\TortoiseSVN\bin\svn.exe前后加英文双引号
3.Program Files前后加英文双引号
4.添加环境变量C:\Program Files
上面几种方案都不行,只有下面这个最有效。
在idea中,选择file—>settings—>Version Control—>Subversion—>去掉Enable interactive mode和Use custom configuartion directory前面的√,然后Apply---->OK。