IntelliJ IDEA 13.1 continues to request credentials for SVN

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

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

When I try to do the same in IDEA, it keeps asking for my credentials, even when I check the "Save credentials" checkbox. Even after entering ten times, a dialog continues to appear. I need to click Cancel and not use Subversion from IDEA.

I am trying to connect to the svn + ssh repository (which, as I mentioned, works when I connect to TortoiseSVN). I can also connect from the SSH terminal in IDEA to the same host.

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

What could be the problem?

+6
source share
3 answers

I ran into this problem since IDEA 13.0.1 , now, since 13.1.4 , I am finding it difficult to 13.1.4 , I have found something that works for me.

Note: I am using linux and svn 1.7 .

a. I am adding some parameters to the JVM for IDEA, these parameters can be added to the file:

 ${IDEA_INSTALL_DIR}/bin/idea64.vmoptions 

(in my case, I have 64 bits of linux, for 32 bits - idea.vmoptions in one place)

I will add the following JVM parameter to the end of the file:

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

ref: source link

Q. My default linux svn version is 1.8, I think the ~ / .subversion / * files can have 1.8 specific formats (I will find the answer later :)), and suppose I used a different path for svn 1.7 auth and conf files, in my case ~/.subversion1.7/ .

C. In IntelliJ, I go to subversion settings (Settings-> Version Control-> Subversion) and configure my settings as the following image:

enter image description here

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

D. After all this, I click the " Clear Caching " button.

E. Restart IntelliJ and everything works fine, as before, in older versions.

.-

I tried each step alone, but did not work, until I put everything together, I got the results of success.

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

Sincerely. iVieL.

+3
source

I had the same problem on Mac OS X. The problem was that access to Keychain was denied by SVN. To fix this, I just started the svn update from the command line. This made the svn command request access to my keychain through a dialog. I chose Always Allow, then IJ could also access it.

+1
source

I am using Windows 7, IDEA 14 and svn 1.8 and getting the same problem. But I need to uncheck the "Use the default Subversion configuration system directory" in the IDEA settings (without changing the path), "Clear cache authentication" and restart IDEA. Then the problem will not recur.

0
source

Source: https://habr.com/ru/post/974175/


All Articles