在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'
出現這種情況在執行下上面的命令,將不會提示你輸入密碼了。