To add to Heath's answer: It looks like Subversion 1.6 disabled storing passwords by default if it can't store them in encrypted form. You can allow storing unencrypted passwords by explicitly setting password-stores = (that is, to the empty value) in ~/.subversion/config.
To check which password store subversion uses, look in ~/.subversion/auth/svn.simple. This contains several files, each a hash table with a simple key/value encoding. The svn:realmstring in each file identifies which realm that file is for. If the file has
K 8
passtype
V 6
simple
然后它将密码以纯文本的形式存储在该文件中的某个位置,即 K 8 password条目中。否则,它将尝试使用配置的 password-stores之一。
只是为了强调 Tomasz Gandor 和 Domain 所说的关于拥有正确的 svn 版本以及它被编译为支持纯文本密码存储的内容,您需要验证您拥有的内容:
svn --version
svn, version 1.9.7 (r1800392)
...
WARNING: Plaintext password storage is enabled!
...
The following authentication credential caches are available:
* Plaintext cache in /gr/home/ffvdqb/.subversion
* GPG-Agent
反对:
svn --version
svn, version 1.12.2 (r1863366)
...
The following authentication credential caches are available:
* Gnome Keyring
* GPG-Agent
* KWallet (KDE)