I'm working with IntelliJ IDEA 13.1.4 and trying to get it to work with Subversion.
My working copies are in the Subversion 1.8 format, and I can commit/update/etc. perfectly with TortoiseSVN 1.8.
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.
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.
This has worked for me previously, but after upgrading to Subversion 1.8 and IDEA 13.1.4, this problem arose.
What could be the problem?
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.
Note: I am using linux
and svn 1.7
.
A. I add some parameters to the JVM for IDEA, that parameters can be added in the file:
${IDEA_INSTALL_DIR}/bin/idea64.vmoptions
(in my case, I have 64bits linux, for 32bits it is idea.vmoptions
in the same place)
I add the next JVM parameter at the end of the file:
-Dsvnkit.http.methods=Basic,Digest,NTLM
ref: original reference
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. In IntelliJ, I go to subversion settings (Settings->Version Control->Subversion) and setup my paramaters like next image:
Right there, I used the new path for auth files, and the path to the svn 1.7.
D. After all that, I click on the button "Clear Auth Cache".
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.
I hope this can helps someone else, because is a bug/problem with IDEA 13.* and SVN.
Regards. iVieL.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With