Mac下idea 更新SVN出现certificate issued for a different hostname问题解决

在mac下使用svn,没有乌龟的陪伴很痛苦,在idea中首次更新svn会报如下错误。

subversion error options of ‘https://你的svn地址’: Server certificate verification faild: certificate issued for a different hostname, issuer is not trusted(https://你的svn地址/

解决办法:

1 打开终端(command+space),在终端中输入如下命令:
svn ls https://你的svn地址

2 会出现一个服务器证书的提示,根据提示输入 “p”,然后回车,输入自己的svn账号。就Ok了。

tips:

如果你的svn地址输入的和idea项目的svn地址不一样,你点更新会出现如下提示。

Error:svn: E155025: 'svn switch' does not support switching a working copy to a different repository
svn: E155025: '你的svn地址1'
is not the same repository as
'https://你的svn地址2' 

出现这种情况在执行下上面的命令,将不会提示你输入密码了。

猜你喜欢

转载自blog.csdn.net/samz5906/article/details/104479052