authentication - 由于登录失败,SVN checkout 失败

标签 authentication svn tortoisesvn credentials svn-checkout

我正在尝试使用 tortoise SVN 在不同服务器上的文件夹上使用 file://方法进行 SVN checkout 。它没有这样做,只是给了我错误:

Unable to connect to a repository at URL

file://xxxxxxxxxxx/svnrep/xxx/trunk

Unable to open an ra_local session to URL

Can't open file '\xxxxxx\svnrep\xxx\trunk\format': Logon failure: unknown user name or bad password.

可能出了什么问题?

最佳答案

如果您在连接到主机服务器时遇到问题,请尝试以下操作:

  1. 在您选择的文件夹中执行 TortoiseSvn-checkout。
  2. 按存储库 URL 输入字段旁边的“...”按钮。
  3. 在文件选择窗口中,输入\\SERVER_NAME,然后按 ENTER
  4. 出现提示时,输入您的网络凭据并选中“记住我的凭据”。
  5. 浏览到您的存储库并选择它。
  6. 返回 SVN 结帐窗口,再次按相同的“...”。
  7. 您现在正在浏览 SVN 存储库。
  8. 照常结账。

注意: 通过 file:///使用 SVN 并不是最佳方式,但即使网络出现故障,它也不会破坏您的 SVN 存储库。 SVN 创建一个事务,然后在完成后将其升级为修订版本。最坏的情况是,您最终会在 SVN 数据库中得到未提交的事务,但您的存储库仍然可以正常运行。要清理这些失败的事务,请参阅http://svnbook.red-bean.com/en/1.6/svn.reposadmin.maint.html#svn.reposadmin.maint.diskspace.deadtxns

关于authentication - 由于登录失败,SVN checkout 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31344455/

相关文章:

java - 将用户定义的库添加到 SVN

c# - 在 3 层设置中在哪里可以找到自定义成员资格、角色、配置文件提供程序?

javascript - 错误 : The reply URL specified in the request does not match the reply URLs configured for the application

authentication - 无法登录 SMTP 服务器 Postfix/Imap Courier/Plesk

tensorflow - 有人找到了使 Tensorboard 受密码保护的方法吗?

svn - 颠覆客户如何处理存储库中的历史变化?

svn - 将现有的 svn 项目导入 github 存储库

SVN 1.3 VS 1.5(最新)

windows - SVN客户端错误 "The server at [...] does not support the HTTP/DAV protocol"

svn - 使用 TortoiseSVN 删除修订版本