Subversion 1.8 and IntelliJ IDEA 13

As you know, one of the features introduced in IntelliJ IDEA 13 is the long-awaited support for Subversion 1.8. Let’s have a closer look at it.

Unlike its earlier versions, Subversion 1.8 support uses the native command line client instead of SVNKit to run commands. This approach is more flexible and makes the support of upcoming versions much easier.

Now, IntelliJ IDEA offers different integration options for each specific Subversion:

  • 1.6 – SVNKit only
  • 1.7 – SVNKit and command line client
  • 1.8 – Command line client only

If you opt to the command line client, make sure you have its binaries installed on your machine, because they are not bundled with IntelliJ IDEA.

In case the working copy format version is different from the command line client version, you will be prompted to make a conversion.

More details on the Subversion 1.8 support can be found here.

Feel free to report any found bugs to our issue tracker.

Develop with Pleasure!


Comments below can no longer be edited.

52 Responses to Subversion 1.8 and IntelliJ IDEA 13

  1. Avatar

    stepand76 says:

    December 30, 2013

    Is it possible to use IDEA *12* with SVN 1.8?

    • Avatar

      Maxim Mossienko says:

      January 1, 2014

      Integrated Svn 1.8 support in IDEA 12 is absent because Svn 1.8 was released 3 months AFTER we released IDEA 12.1

      • Avatar

        Rui Lopes says:

        January 28, 2014

        Do you know the concept of improvements, patches, corrections and plugins update?
        Dummy question of course, but the honesty of my question competes with the one of your comment.

        • Avatar

          devicenotready says:

          January 23, 2015

          Yes, it’s called IntelliJ 13 and 14.

  2. Avatar

    Michael Butler says:

    January 16, 2014

    Great work guys. Thank you!

  3. Avatar

    Vk says:

    January 24, 2014

    Oh, it’s works fine for Windows, but I cant to run the Diff tool for Idea 13 for OSX…

  4. Avatar

    Guy lubovitch says:

    March 18, 2014

    I am not clear, i am using idea 13 and a project that used svn 1.8 doesnt work on my idea 13? from this blog it should. any idea why it doesnt ?

    • Avatar

      Konstantin Kolosovsky says:

      March 18, 2014

      What errors do you have? Could you provide some screenshots?

    • Avatar

      deepnmn says:

      March 26, 2014

      On 13.1.1, on my 1.8 repo, I now get this message box:
      “No versioned directories to update was found”.
      The log just says “15:12:05 Errors found while svn working copies detection. Fix it.”

      I have not checked “use command line”. My command line is 1.7 anyways.

      • Avatar

        Konstantin Kolosovsky says:

        March 31, 2014

        As described in the post, if your working copy format is 1.8 then only command line client integration is used (despite of the settings). So you have to install svn 1.8 command line client and specity path to it in settings.

        • Avatar

          Bill Poitras says:

          April 7, 2014

          I have followed everything indicated here. I am currently using a SVN 1.8 client, IDEA has a path to the SVN executable. But I still get “No versioned directories to update was found”. I can run my command line client to get status, and update the files, but it doesn’t work inside the interface.

          Intellij 13.1.1 (idea64.exe)
          JRE: 1.7.0_51-b13 amd64

          Every 200ms, the system/log/idea.log spits out the following:
          2014-04-07 15:37:43,045 [ 226371] INFO – org.jetbrains.idea.svn.SvnVcs – Failed to get local info for . Trying to get HEAD info.

          • Avatar

            Konstantin Kolosovsky says:

            April 8, 2014

            What is displayed in “Subversion Working Copies Information” panel – are some working copies detected?

            Could you please attach screenshot of your VCS roots configuration – “Version Control” project settings?

  5. Avatar

    Philippus Baalman says:

    April 7, 2014

    I got it working except I can not commit changes.
    ‘compare with latest repository version’ shows differences.
    However when I try to commit PhpStorm says ‘No changes detected’.

    • Avatar

      Konstantin Kolosovsky says:

      April 8, 2014

      Differences in “Compare with latest repository version” action do not mean you have uncommitted local changes – probably some other person committed changed revision of the file to the repository and you’re not updated to the latest revision – so corresponding action show changes.

      Are you sure you have files in your working copy with local changes (you could try changing some file and see if it appears as changed in “Changes” -> “Local” panel)? Does “svn status” command show these files as “modified”? Do necessary changed files appear after you manually hit “Refresh” in “Changes” -> “Local” panel?

  6. Avatar

    David Herzog says:

    April 8, 2014

    I installed IntelliJ Ultimate Edition 13.1.1 on Mac OS (10.9.2). I have svn client version 1.8.1 (Subversion-1.8.1_10.8.x.pkg) that I installed almost a year ago. I have the svn client working without issue with the corresponding subclipse plugin in eclipse. When I try to checkout a project from source control in IntelliJ, when prompted for the version of SVN to use 1.8 is greyed out. If I import an existing project that I checked out via the command line I get the following error – “svn: E155021: E155021: This client is too old to work with the working copy at ‘/’ (format 31). You need to get a newer Subversion client.” I’ve downloaded IntelliJ on Windows and I am able to get it working just fine. Is this a known Mac issue? I am currently evaluating IntelliJ as a possible replacement for eclipse at our company. Many of us use Mac’s and version 1.8 of the svn client so this would prevent us from moving to IntelliJ if there is no fix.

    • Avatar

      Konstantin Kolosovsky says:

      April 8, 2014

      This is likely issue for Mac when specifying svn client by short name. Please specify full path to svn client in “Version Control” -> “Subversion” project settings.

      • Avatar

        David Herzog says:

        April 8, 2014

        Are you referring to using ‘/usr/bin/svn’ instead of ‘svn’ in the ‘Use command line client’ field? I already tried that with no success. I get the same result.

        • Avatar

          Konstantin Kolosovsky says:

          April 8, 2014

          Please run “/usr/bin/svn –version” command in terminal. Does it show 1.8 version? – Likely it should show some previous version.

          But I guess “svn –version” command in terminal should show 1.8 version. Please determine full path where “svn” points by running “which svn” command and specify this path in IDEA settings.

          • Avatar

            David Herzog says:

            April 8, 2014

            Thanks so much for the help Konstantin. /usr/bin/svn was the default version installed on the Mac (1.7.10) and the one I installed ended up in /opt/subversion/bin/svn. All looks good now that I changed it under Preferences -> Version Control -> Subversion.

          • Avatar

            Buffalo Rabor says:

            October 24, 2014

            Thank you both, following this convo and using “which svn” to locate the proper path solved the issue for me as well ~

      • Avatar

        laike9m says:

        May 22, 2015

        Great! Solved my problem!

  7. Avatar

    Vitaliy says:

    April 10, 2014

    At Mac OS X Idea can’t correctly detect SVN client when it’s in PATH and “svn” specified in Idea settings. Works only after specifying full path to binary like “/opt/local/bin/svn”. Please fix this.

  8. Avatar

    Michael Bach says:

    June 20, 2014

    That’s right.
    in IntelleJ running on Mac OS X you need to specify full path to SVN
    it works.

  9. Avatar

    harry says:

    August 6, 2014

    Hi I am new to Intellij. I was trying to checkout from svn. i am using Intellij 13 community edition and svn client 1.8 and Mac OS X
    I use the svn+shh////trunk

    every time i give in my pwd it says credentials rejected by ssh server svn :E170001
    I am pretty sure my pwd is correct. would there some crazy encoding issue?
    how can i debug the same ?

  10. Avatar

    harry says:

    August 6, 2014

    I have Intellij working on mac OS x and svn is version 1.8 while trying to checkout from svn over svn+ssh:// the ssh server is rejecting my credentials ; which seemed to work from command line. Is there any crazy encoding issue over here?

  11. Avatar

    João Fernandes says:

    October 13, 2014

    hi, I’ve been using SVN 1.8 as described in this post, in the past couple of months but lately all kind of svn operations are taking forever. It seems it’s only related to svn because the rest of the IDE operations work as expected. Is there any way to track what might be the cause?

    The only thing I remember changing was the IntelliJ cache but if it was the cause shouldn’t everything inside the IDE crawl and not just SVN integration?

    • Avatar

      Konstantin Kolosovsky says:

      October 14, 2014

      * Please provide more details – with what svn operations do you experience performace issues (update, commit, etc.)?
      * Do you use SVNKit or command line integration? You could try switching “Use command line client” checkbox in Subversion settings to check if it helps.
      * Please try “Clear Auth Cache” in Subversion settings and check if it helps.

      If options above do not help, please create corresponding issue. Reproduce the error and attach idea.log (Help->Show Log in…) and CPU Snapshot to the created issue.

  12. Avatar

    Lee says:

    November 1, 2014

    I have upgraded SVN to 1.8.10 if i do svn in the terminal (Mac) i see the correct 1.8.10 version but intellij isn’t seeing this it still uses the original SVN (1.7) i have ticked the box for using command line client and I’ve pasted in the path into the box but it still doesn’t work when i try to checkout a repo that should use 1.8 it is still greyed out. I got the path to use by dong which SVN on the terminal. have i missed anything ?

  13. Avatar

    Konstantin Kolosovsky says:

    November 5, 2014

    Please see this and related comments – you could use “which svn” command in terminal to get full path to svn client.

  14. Avatar

    Dayglo says:

    November 9, 2014

    Hi ,

    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

    • Avatar

      Konstantin Kolosovsky says:

      November 13, 2014

      Looks like this issue. Does checking “Enable interactive mode” in Subversion settings help?

    • Avatar

      philonic says:

      January 16, 2018

      in Version Control > Subversion ,untick the first line “Use command line client”

  15. Avatar

    Michael says:

    December 9, 2014

    After the migration of my local project from svn 1.7 to svn 1.8 version, I’m no more able to commit. I was running IntelliJ IDEA 13, and now run intellij IDEA 14 on a windows vista box. My svn repository is a sourceforge project which adress is svn+ssh://myname@svn.code.sf.net…
    I still can update from IntelliJ and I can commit from Tortoise svn, so my url/username.password are OK.
    I have been stuck with the problem since several days and tried the following options (I’m not a svn expert and always used it through IDEs) :
    – check / uncheck “use command line client” and all the other options of this panel
    – set the path to svn tool with the file chooser, changing the path to use /, \, \\, double quotes, “Progra~1” instead of Program Files, to point to SlikSvn, TortoiseSvn…
    – set ssh option with defaults, with a path to plink.exe (same variations as above), with password or with “Subversion config” checked.
    – reinstall IntelliJ (switched to 14)
    – changed the user from myname to admin
    – etc.
    One of the many reasons I switched from Eclipse was that svn configuration was much more easy in IntelliJ IDEA. It was the time before svn 1.8 🙁
    Any idea someone ?

    • Avatar

      Konstantin Kolosovsky says:

      December 10, 2014

      If you’re using plink you could select “Subversion config” option, enter value like “plink -l -pw “, press “Update”. Also please uncheck “Enable interactive mode” (Subversion settings, “General” tab).

      Does such configuration resolve your issue?

      • Avatar

        Michaël says:

        December 10, 2014

        Thanks for the reply. Unfortunately, it does not help.
        Here are more options I set and the message I get ()

        Version Control > Subversion (General panel)
        Use command line client : C:\\Progra~1\\SlikSvn\\bin\\svn.exe (changing \\ to \ or to / and Progra~1 to Program Files or quoting does not help)
        Enable interactive mode : if unchecked I’m invited to enter user/pwd endlessly, else, I get the error
        Use system default subversion Configuration directory or set to C:\Users\Michaël\AppData\Roaming\Subversion

        Version controle > Subversion (SSH settings)
        SSH Executable (+ password checked) : C:\Windows\PLINK.EXE (changing place or \ does not help)
        Subversion config : plink -l -pw (+ update + svn_ssh environment variable pointing to plink.exe)

        Trying to connect to the repository throws :
        svn: E170012: When using svn+ssh:// URLs, keep in mind that the –username and –password options are ignored because authentication is performed by SSH, not Subversion
        svn: E170012: Unable to connect to a repository at URL ‘svn+ssh://michaudm@svn.code.sf.net/p/jump-pilot/code/core/trunk’
        svn: E170012: Can’t create tunnel
        svn: E720002: Can’t create tunnel: Le fichier sp�cifi� est introuvable.

        Today, even update do not work. In most cases, I get
        Error:svn: E170012: Unable to connect to a repository at URL ‘svn+ssh://michaudm@svn.c
        svn: E170012: Can’t create tunnel
        svn: E720002: Can’t create tunnel: Le fichier spécifié est introuvable.

        thanks for the help

        • Avatar

          Michaël says:

          December 10, 2014

          In command line client, any try to set a path containing “Program Files” will fail with
          Error:’C:\Program’ is not recognized…
          even if the path is quoted.
          Hence the use of Progra~1 : unfortunately, it does not help much (get errors E170012 and E720002) 🙁
          Also tried to put subversion client in tortoise svn bin directory and to set
          Use command line client : C:\Progra~1\TortoiseSVN\bin\svn.exe
          ssh executable : C:\Progra~1\TortoiseSVN\bin\TortoisePlink.exe

          without success

          • Avatar

            Konstantin Kolosovsky says:

            December 12, 2014

            It seems that my comment was posted incorrectly.

            Could you please “Subversion config” option, enter value like “plink -l <user_name> -pw <password>“, press “Update” and uncheck “Enable interactive mode”?

            So you should put your user_name and password (not just -l and -pw) in ssh tunnel configuration.

            Please also clear SVN_SSH environment variable and specify full path to plink if short name does not work (use forward slashes ‘/’ for full path).

  16. Avatar

    michael says:

    December 12, 2014

    Hi Konstantin,

    Works fine !
    Thanks for your patience.

  17. Avatar

    Dev says:

    March 10, 2015

    I am seeing a different problem. I have command line svn client at 1.8 and my intelij gives me error in detecting it. See below

    svn: E155021: E155021: This client is too old to work with the working copy at ‘/Users/sjoshi/Projects/c3/intelijws/c3/I3RW_BR_2015_REL_10’ (format 31). You need to get a newer Subversion client. For more details, see http://subversion.apache.org/faq.html#working-copy-format-change

    My intellij Ultimate version 13.1.6 . Please suggest

    • Avatar

      Konstantin Kolosovsky says:

      April 8, 2015

      Make sure path to command line client you’ve specified in Subversion settings points to svn 1.8 client. For Mac please specify full path to the svn client – see this comment for more details.

  18. Avatar

    Daniel says:

    November 6, 2015

    Hey there, I’ve tried everything and still can’t get Subversion to work with SVN 1.8. I get stuck in an endless loop of “Authentication Realm” prompts. When I try to fix it by using interactive mode, the terminal somehow cuts off my prompt: it will say something like “Cannot find C:\Program,” which suggests it tries to find the SVN client but has it cut off. Any help?

    • Avatar

      Konstantin Kolosovsky says:

      November 10, 2015

      What IDEA version do you use?
      What is your svn repository access protocol (svn, http, https, svn + ssh)?

      • Avatar

        Janki Chaudhari says:

        May 4, 2016

        Hi Konstantin,
        I have exactly same problem as Daniel said with PHPStorm 2016.1 and Subverion 1.8
        My svn repository protocol is ‘svn + ssh’
        Do you have any suggestion for that ?

  19. Avatar

    Ken edward says:

    February 16, 2016

    Our subversion server runs behind apache kerberos and mod_dav_svn, with a fallback to basic AD authentication. Our svnkit clients have been able to access by adding -Dsvnkit.http.methods=Basic,Digest,Negotiate –how to do this with DIEA clients?

    • Avatar

      Konstantin Kolosovsky says:

      February 25, 2016

      What svn working copy format do you have?
      Is “Use command line client” checkbox in “Version Control” -> “Subversion” settings checked?
      What errors do you get while accessing svn server from inside IDEA?

  20. Avatar

    Rencontre adultère says:

    October 22, 2016

    When I originally left a comment I seem to have clicked on the -Notify me when nnew comments are added- checkbox and now each time a comment is added I get four emails with the same comment.
    There has to be a means you are able to rremove me from that
    service? Kudos!

  21. Avatar

    Shiv Parmar says:

    November 25, 2016

    I am able to browse svn repository by VCS > Browse VCS repository > browse subversion repository and i can see my full directory structure here. But when i update project (ctrl +t) it gives me error “svn process exited with error code: 1”. I am using IDEA 2016.3 and Subversion 1.9.4 in my system and i have unchecked “use command line client” option.

    • Avatar

      Shiv Parmar says:

      November 25, 2016

      Solved by deselecting “Enable interactive mode” and then deselecting “Use command line client”. Problem was I have unchecked “use command line client” but “Enable interactive mode” was checked under “use command line client”. Now it is working fine. Hope it will help Other too.

      • Avatar

        Sarah says:

        January 11, 2017

        This worked for me! Thank you! 🙂

      • Avatar

        Mujahid says:

        July 27, 2017

        thanks worked for me too

      • Avatar

        jasperlin says:

        May 4, 2018

        Thanks worked for me too

  22. Avatar

    Iron tables says:

    November 29, 2016

    Hi there to every one, as I am actually eager of reading this weblog’s post to be updated daily.

    It includes pleasant information.

Discover more