之前几天在Linux Server上重新创建了一个新的环境,用自己的帐号check out了新的代码,但是发现每次update的时候需要输入密码,很繁。Google了一下,其中一个解决方法是在/home/<user>/.subversion/目录下的config文件找到一下配置:
### Section for authentication and authorization customizations.
[auth]
### Set store-passwords to 'no' to avoid storing passwords in the
### auth/ area of your config directory. It defaults to 'yes'.
### Note that this option only prevents saving of *new* passwords;
### it doesn't invalidate existing passwords. (To do that, remove
### the cache files by hand as described in the Subversion book.)
# store-passwords = no
将“store-passwords = no” 注释掉或将其值设置成true。
### Section for authentication and authorization customizations.
[auth]
### Set store-passwords to 'no' to avoid storing passwords in the
### auth/ area of your config directory. It defaults to 'yes'.
### Note that this option only prevents saving of *new* passwords;
### it doesn't invalidate existing passwords. (To do that, remove
### the cache files by hand as described in the Subversion book.)
# store-passwords = no
将“store-passwords = no” 注释掉或将其值设置成true。