如何防止 SVN 缓存单个存储库的凭据?

问题描述:

我使用的是 Collabnet SVN 客户端版本 1.5 &1.6.我的本地机器运行的是 Windows Vista x64(我知道,确实很伤心).每次尝试对选定的存储库执行任何颠覆操作时,我都想强制进行身份验证.我如何将属性或设置设置为每次都需要身份验证?感谢您的帮助和建议!

I'm using Collabnet SVN client versions 1.5 & 1.6. My local machine is running Windows Vista x64 (I know, very sad indeed). I would like to force authentication every time I try to perform any subversion operations on a selected repository. How might I set a property or setting to require authentication every time? Thanks for the help and suggestions!

您有 2 个解决方案:

You have 2 Solutions:

  1. 使用--no-auth-cache开关打开所有命令

编辑 Subverison 配置文件 (%APPDATA%\Subversion\config) 并查找注释行:

edit the Subverison config file (%APPDATA%\Subversion\config )and look for commented line:

# store-passwords = no

# store-passwords = no

并删除行首的#".这将永久关闭密码缓存.

and remove the "#" at start of the line. This will switch off Password caching permanently.