TortoiseSVN:身份验证错误

Sim*_*s.B 4 svn tortoisesvn

我一直在得到:

Unable to connect to a repository at URL 'xxx'
Error running context: An error occurred during authentication
Run Code Online (Sandbox Code Playgroud)

我尝试过清除缓存、身份验证数据。从cmd尝试了 svn info --username xxx --password xxx --no-auth-cache 。尝试删除漫游/颠覆,漫游/TortoiseSvn,本地/TortoiseSVN,删除注册表中的TortoiseSVN并重新安装tortoiseSVN。但仍然是同样的错误。虽然我可以从浏览器访问该存储库。有任何想法吗?

小智 5

如果是由于使用 Microsoft 帐户而不是本地帐户登录 Windows 引起的,解决方案位于下面的 SO 链接中。只是很难找到它,因为它并没有完全谈论 TortoiseSVN,而是谈论 TortoiseSVN 下的 Subversion 库:

在 SVN 中如何覆盖自动 Windows 域身份验证

从答案来看:

  1. 在“%AppData%\Subversion\servers”中,将这一行添加到 [groups] 中:

    yoursvnserver_com = *.yoursvnserver.com

  2. 稍后在同一文件中添加该组:

    [yoursvnserver_com]

    http-auth-types=基本;摘要