IntelliJ IDEA 13.1不断询问SVN的凭据 [英] IntelliJ IDEA 13.1 keeps asking credentials for SVN

查看:599
本文介绍了IntelliJ IDEA 13.1不断询问SVN的凭据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用IntelliJ IDEA 13.1.4并试图让它与Subversion一起使用。

I'm working with IntelliJ IDEA 13.1.4 and trying to get it to work with Subversion.

我的工作副本是Subversion 1.8格式,我可以使用TortoiseSVN 1.8完美地提交/更新/等。

My working copies are in the Subversion 1.8 format, and I can commit/update/etc perfectly with TortoiseSVN 1.8.

当我尝试在IDEA中做同样的事情时,它一直在询问我的凭据,即使我检查保存凭证框。即使进入十次后,对话框也会不断弹出。我必须单击取消并且不能在IDEA中使用Subversion。

When I try to do the same thing in IDEA it keeps asking for my credentials, even when I check the "Save credentials" box. Even after entering ten times, the dialog keeps popping up. I have to click "Cancel" and can't use Subversion from within IDEA.

我正在尝试连接到svn + ssh存储库(正如我所提到的,当我与TortoiseSVN连接时工作)。我也可以从IDEA的SSH终端连接到同一主机。

I'm trying to connect to a svn+ssh repository (which, as I mentioned, works when I connect with TortoiseSVN). I can also connect from the SSH Terminal in IDEA to the same host.

这对我以前有用,但升级到Subversion 1.8和IDEA 13.1.4之后,这个问题出现了。

This worked for me previously, but after upgrading to Subversion 1.8 and IDEA 13.1.4, this problem arose.

可能是什么问题?

推荐答案

我遇到了那个问题,因为 IDEA 13.0.1 ,现在, 13.1.4 ,我发现难以找到解决方法,我找到了对我有用的东西。

I faced that problem since IDEA 13.0.1, now, with 13.1.4, I find hard for a workaround, I found something that work for me.

注意: 我正在使用 linux svn 1.7

A。我向IDE的JVM添加了一些参数,可以在文件中添加参数:

A. I add some parameters to the JVM for IDEA, that parameters can be added in the file:

${IDEA_INSTALL_DIR}/bin/idea64.vmoptions

(在我的情况下,我有64位linux,对于32位,它是 idea.vmoptions 在同一个地方)

(in my case, I have 64bits linux, for 32bits it is idea.vmoptions in the same place)

我在文件的末尾添加下一个JVM参数:

I add the next JVM parameter at the end of the file:

-Dsvnkit.http.methods=Basic,Digest,NTLM

参考:原始参考资料

B。我的linux svn默认版本是1.8,我猜〜/ .subversion / *文件可以有1.8特定的格式(我稍后会找到答案:)),并且假设,我使用svn 1.7 auth和conf文件的另一个路径在我的例子中,〜/ .subversion1.7 /

B. My linux svn default version is 1.8, I guess that ~/.subversion/* files can have a 1.8 specific format (I will find the answer later :) ), And supposing that, I used another path for svn 1.7 auth and conf files, in my case, ~/.subversion1.7/.

C.在IntelliJ中,我进入颠覆设置(设置 - >版本控制 - > Subversion)并设置我的参数如下图:

C. In IntelliJ, I go to subversion settings (Settings->Version Control->Subversion) and setup my paramaters like next image:

就在那里,我使用了auth文件的新路径, svn的路径1.7。

Right there, I used the new path for auth files, and the path to the svn 1.7.

D.毕竟,我点击清除身份验证缓存按钮。

D. After all that, I click on the button "Clear Auth Cache".

E。重新启动IntelliJ,所有功能都比旧版本更好。

E. Restart IntelliJ and all works great as used to be in older versions.

.-

我试过每一步单独,但没有工作,直到我把所有的一起,我得到了成功的结果。

I tried every step alone, but didn't work, until I put all together, I got success results.

我希望这可以帮助别人,因为是IDEA的错误/问题13. *和SVN。

I hope this can helps someone else, because is a bug/problem with IDEA 13.* and SVN.

问候。
iVieL。

Regards. iVieL.

这篇关于IntelliJ IDEA 13.1不断询问SVN的凭据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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