简体   繁体   English

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

[英]How do I prevent SVN from caching credentials for a single repository?

I'm using Collabnet SVN client versions 1.5 & 1.6. 我正在使用Collabnet SVN客户端1.5和1.6版本。 My local machine is running Windows Vista x64 (I know, very sad indeed). 我的本地计算机正在运行Windows Vista x64(我知道,确实非常可悲)。 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! 感谢您的帮助和建议!

You have 2 Solutions: 您有2个解决方案:

  1. use the --no-auth-cache switch on all of your commands 所有命令上使用--no-auth-cache开关

  2. edit the Subverison config file (%APPDATA%\\Subversion\\config )and look for commented line: 编辑Subverison配置文件(%APPDATA%\\ Subversion \\ config)并查找注释行:

# store-passwords = no #store-passwords =否

and remove the "#" at start of the line. 并删除该行开头的“#”。 This will switch off Password caching permanently. 这将永久关闭密码缓存。

您需要--no-auth-cache选项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM