可能的原因
这个一般是因为密码没被保存,或保存的方式跟读取的方式不匹配
查看SVN认证配置
dh@dh-desktop:~/7569_32/fpga_mainboard$ svn auth
------------------------------------------------------------------------
Credential kind: svn.simple
认证领域: <http://192.168.20.187:80> My Subversion Repository
Password cache: gpg-agent
Username: svn_wanghaipeng
Credentials cache in '/home/dh/.subversion' contains 1 credentials
可以看到密码缓存方式是gpg-agent
,这就是总提示输入密码的原因,常见的SVN环境下,密码缓存方式都是simple
可能的解决办法
vi ~/.subversion/config
将auth区段的password-stores配置项解开,配置成simple
[auth]
### Set password stores used by Subversion. They should be
### delimited by spaces or commas. The order of values determines
### the order in which password stores are used.
### Valid password stores:
### gnome-keyring (Unix-like systems)
### kwallet (Unix-like systems)
### gpg-agent (Unix-like systems)
### keychain (Mac OS X)
### windows-cryptoapi (Windows)
# password-stores = gpg-agent,gnome-keyring,kwallet
### To disable all password stores, use an empty list:
# password-stores = # 解开~~~~~~
password-stores = simple # 改成这个~~~~~~~~~