2

I'm just making the switch to IntelliJ 14 from Eclipse. I'm having some trouble getting SVN set up. I use svn+ssh and my setup on Eclipse works fine. The Subversion server is running v1.8.5. I'm using v 1.8 in Intellij. I've pointed the SSH settings to use TortoisePlink.exe as my SSH executable but I'm wondering if this is necessary on IntelliJ ?? I've set my ssh username and port up. I'm logging in with password at the moment as this is what I do Eclipse (I'll probably change to private key once I have this working). I've cleared the Auth Cache a number of times between attempts to get this working.

When I click on my the repository I've added the Authentication Required dialog appears. I login and I can browse the repository. However if I try and check the repository out with the same credentials in the Authentication Required dialog they fail and I repeatedly get asked to reenter them. Any ideas what is happening here?

Thanks for any help

4

2 回答 2

1

我对 IntelliJ 14.0.2 有完全相同的问题。为了使 SSH 身份验证正常工作,我执行了以下操作:

  1. 安装了 TortoiseSvn 1.8.10(这可能并不重要,因为关键组件 TortoisePlink 很少更改,但我不想仅仅因为旧软件而卡住)。

  2. 安装了 Collabnet subversion 命令行客户端 1.8.11(同上评论)。

  3. 我运行 Pageant SSH 密钥代理(我一直使用它)。我的私钥有一个密码,但 Pageant 要求在缓存之前解锁密钥,因此这对 IntelliJ 没有影响。

  4. 我将 SVN_SSH 环境变量设置为“C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe”。

  5. 在 IntelliJ 中,我打开了 Settings | 版本控制 | 颠覆 | 常规选项卡并选择“使用命令行客户端”并将 subversion 客户端设置为“C:\Program Files\CollabNet\Subversion Client\svn.exe”。

  6. 在 IntelliJ 中,我打开了 Settings | 版本控制 | 颠覆 | SSH 设置选项卡并选择“Subversion 配置”选项。我将 SSH 隧道输入设置为“$SVN_SSH”(仅此而已)并保存了它。

于 2015-01-16T20:28:20.193 回答
0

我们遇到了这个问题,因为 SVN 1.9.x 不再适用于 IntelliJ IDEA 14,所以我们下载了 SVN 1.8.13,它适用于命令行客户端设置。

于 2016-02-15T16:10:24.373 回答