如何设置用户名/密码连接到Subversion版本库中AnkhSVN的Visual Studio中? [英] How to set username/password to connect to Subversion repository in AnkhSVN in Visual Studio?

查看:1529
本文介绍了如何设置用户名/密码连接到Subversion版本库中AnkhSVN的Visual Studio中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装AnkhSVN的。我使用Visual Studio 2010。

I just installed AnkhSVN. I'm using Visual Studio 2010.

有,是我通过SSL访问服务器上的现有Subversion仓库(例如: https://svn.myserver.com/myrepository )。

There is an existing Subversion repository on a server that I access via SSL (ex: https://svn.myserver.com/myrepository).

在Visual Studio中,我把我的源代码控制AnkhSVN的 - 到Visual Studio Subversion的支持。在工具/选项菜单

In Visual Studio, I set my source control to "AnkhSVN - Subversion support to Visual Studio" in the tools/options menu.

在添加到颠覆对话框,当我尝试添加存储库中的我的解决方案,我输入 https://svn.myserver.com/myrepository 中在库URL字段。
然后, https://svn.myserver.com 出现在颠覆库。
当我选择它,创建文件夹...按钮保持禁用,当我点击确定,我得到的消息:

In the "Add to Subversion" dialog, when I try to add my solution in the repository, I enter https://svn.myserver.com/myrepository in the "Repository URL" field. Then, https://svn.myserver.com appears under "Subversion Repositories". When I select it, the "Create Folder..." button stays disabled and when I click OK, I get the message:

请在资源库中​​选择一个有效的位置添加到

Please select a valid location in the repository to add to.

我想补充我的解决方案在 https://svn.myserver.com/myrepository/myfolder ,但它似乎并不可能。

I want to add my solution in https://svn.myserver.com/myrepository/myfolder but it doesn't seem to be possible.

我是什么失踪?

另外:
在库资源管理器我添加网址 https://svn.myserver.com/myrepository 并没有任何反应。我不能浏览存储库。它看起来像我无法连接到服务器。

Also: In Repository Explorer I add the url https://svn.myserver.com/myrepository and nothing happens. I cannot browse that repository. It looks like I cannot connect to the server.

我不知道为什么没有弹出要求我进行身份验证。

I wonder why there's no popup asking me for authentication.

是否有人知道在哪里设置的用户名/密码?

Does anybody know where to set username / password?

推荐答案

解决方案:


  • 您可以到工具 - 选项 - 源控制 - 颠覆环境 - 认证缓存清除缓存的用户名/密码


  • 验证数据被保存到以下目录

%APPDATA%\\颠覆\\权威性\\ svn.ssl.server文件里
%APPDATA%\\颠覆\\权威性\\ svn.simple

%APPDATA%\Subversion\auth\svn.ssl.server %APPDATA%\Subversion\auth\svn.simple

删除这些文件夹内的所有文件将解决这个问题。删除这些文件后AnkhSVN的将再次提示您输入用户名和密码。

Deleting all the files inside these folders will solve the problem. After deleting these files AnkhSVN will prompt you for username and password once again.


  • 从文件系统中右点击 - > tortoise->设置 - >保存数据 - >验证数据清除。

参考文献:

http://www.nerdpad.com/how-to/clearing-ankhsvn-saved-username-password-authentication-data

<一个href=\"http://stackoverflow.com/questions/4313747/how-to-change-svn-authentication-details-in-ankhsvn-in-visual-studio-2010\">How改变SVN认证细节AnkhSVN的Visual Studio 2010中?

<一个href=\"http://stackoverflow.com/questions/664761/tortoisesvn-not-asking-for-authentication\">TortoiseSVN不要求身份验证?

这篇关于如何设置用户名/密码连接到Subversion版本库中AnkhSVN的Visual Studio中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆