【SVN】Authentication realm: xxx:443

在输入svn命令时一直提示如下:

Authentication realm: xxx:443
Client certificate filename:

每次都要输入证书文件地址,好麻烦。在网上找了好久,终于找到解决方法。编辑~/.subversion目录下的servers文件:

### In the 'groups' section, the URL of the repository you're
### trying to access is matched against the patterns on the right.
### If a match is found, the server options are taken from the
### section with the corresponding name on the left.
[groups]
dev = SVN仓库地址
... ...

[dev]
ssl-client-cert-file = 证书文件地址

ok!万事大吉!

posted @ 2014-06-13 13:34  草谷子  阅读(3912)  评论(0编辑  收藏  举报