1.软件环境
svn客户端安装的是TortoiseSVN;
vscode 安装的为SVN的插件;
2. 问题现象
vscode打开文件夹后右下角提示如下报错:SVN not found. Install it or configure it using the "svn.path"

3.同时输出窗口提信息:Svn installation not found.

4.错误原因:
vscode找不到本地的svn.exe. 这个exe在默认安装TortoiseSVN时,默认是不勾选的,所以不会注意,其实在vscode中安装SVN插件时,该插件就已经提示了,需要在安装TortoiseSVN时,勾选上 Command Line Tools.

5.解决方法:
重新安装TortoiseSVN,并勾选上command line client tools选项。

网友评论