PHPCan't use Subversion command line client:svn
在PHPstorm中,出现了一个Can't use Subversion command line client:svn的错误。
这是PHPstorm掉用svn的时候没有命令行客户端导致的,这个需要重新安装一下就可以了,重行运行安装程序
需要设置一个svn.exe的路径,而大多数人安装后的TortoiseSVN\bin都没有svn.exe这个文件
没设置好就用SVN功能的话会报错Cannot run program "svn"
-
这是PHPstorm掉用svn的时候没有命令行客户端导致的,这个需要重新安装一下就可以了,重行运行安装程序。
-
选择“Modify”
-
svn默认安装时,command line client tools是没有安装的
-
点击,选择“Entire feature will be installed on local hard drive”
-
然后,进入下一步
-
安装command line client tools
-
等待安装完成
-
需要设置一个svn.exe的路径,而大多数人安装后的TortoiseSVN\bin都没有svn.exe这个文件
-
然后,进入控制面板->系统页面
-
-
进入高级系统设置
-
在环境变量中加入“C:\Program Files\TortoiseSVN\bin”