在高版本的Subversion默认不保存密码。在内网中,Subversion如何设置保存明文密码?
Subversion 1.14 can store passwords in several ways, depending on the operating system and the method used to access the repository. On Unix-like systems, Subversion can store passwords using the gnome-keyring
or kwallet
password managers, or in a plaintext file in the user’s home directory¹. On Windows, Subversion can store passwords using the Windows Credential Manager
, or in a plaintext file in the user’s home directory¹.
You can configure how Subversion stores passwords by editing the servers
and config
files in the .subversion
directory in your home directory. In the servers
file, you can set the store-passwords
and store-plaintext-passwords
options in the [global]
section to control whether passwords are stored and whether they are stored as plaintext¹. In the config
file, you can set the password-stores
option in the [auth]
section to specify which password manager to use¹.
I hope this information helps! Let me know if you have any further questions.
源: 与必应的对话, 2023/6/13
(1) How to save password when using Subversion from the console. https://stackoverflow.com/questions/2899209/how-to-save-password-when-using-subversion-from-the-console.
(2) Can’t make SVN store passwords, even though the configuration is set to … https://stackoverflow.com/questions/2599281/cant-make-svn-store-passwords-even-though-the-configuration-is-set-to-allow-it.
(3) Subversion (svn) doesn’t store passwords in gnome-keyring. https://unix.stackexchange.com/questions/89550/subversion-svn-doesnt-store-passwords-in-gnome-keyring.
(4) Apache Subversion 1.14 LTS Release Notes. https://subversion.apache.org/docs/release-notes/1.14.html.