Intellij idea subversion checkout error: `Cannot run program "svn"`

SvnIntellij Idea

Svn Problem Overview


I am using intellij idea 13.0. When I am trying to checkout from subversion I am getting error

Cannot load supported formats: Cannot run program "svn": CreateProcess error=2, The system cannot find the file specified

How do I fix this?

Svn Solutions


Solution 1 - Svn

I solved this by uncheking the "Use command-line client" option from Subversion settings.

This works with version 1.6 and 1.7 only. See @Vic's answer for SVN version 1.8.

Solution 2 - Svn

Check my solution, It will work.

Solutions:

First Download Subversion 1.8.13 ( 1.8 ) Download link ( https://www.visualsvn.com/downloads/ )

enter image description here

Then unzipped in a folder. There will have one folder "bin".

Then

Go to settings - > Version control -> Subversion

Copy the url of your downloaded svn.exe that is in bin folder that you have downloaded.

follow the pic:

enter image description here

Don't forget to give the end name like svn.exe last as per image.

Apply -> Ok

Restart your android studio now.

Happy Coding!

Solution 3 - Svn

If you're using IntelliJ 13 with SVN 1.8, you have to install SVN command line client. Please see more information here:

> 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

Solution 4 - Svn

Disabling Use command-line client from the settings worked well form me on IntelliJ Ultimate 14.0.

Solution 5 - Svn

In IntelliJ Idea 2017.1 you can use the embedded SVN client that sadly is not enabled by default. Here's how you can activate it.

  1. Open IntelliJ Idea

  2. Menu Help > Find Actions...

enter image description here

  1. Type subversion to gain access to the subversion related settings. Choose the item Subversion Settings as highlighted in the following picture.

enter image description here

  1. Finally, be sure to uncheck the option Use command line client.

enter image description here

From now on, in the current project, you'll use the embedded subversion.

Solution 6 - Svn

Under settings ->verison control -> Subversion, uncheck use command line client. It will work.

Solution 7 - Svn

Basically, what IntelliJ needs is svn.exe. You will need to install [Subversion for Windows][1]. It automatically adds svn.exe to PATH environment variable. After installing, please restart IntelliJ.

Note - Tortoise SVN doesn't install svn.exe, at least I couldn't find it in my TortoiseSVN bin directory.

[1]: http://sourceforge.net/projects/win32svn/ "Subversion for Windowsquot;"

Solution 8 - Svn

Seems related to this issue IDEA-117518

Solution 9 - Svn

IntelliJ needs the subversion command(svn) added into Subversion settings. Here are the steps:

  1. Download and Install subversion.
  2. check on the command line prompt on windows(cmd) for the same command - svn.

enter image description here

  1. Validate svn command added to File --> settings --> Version Control --> subversion enter image description here
  1. Exit IntelliJ studio and relaunch

Solution 10 - Svn

Fix of this problem is add SVN directory(C:\Program Files\TortoiseSVN\bin) to Path system property

Solution 11 - Svn

For me, on Debian GNU / Linux, installing the subversion package was the solution

# aptitude install subversion subversion-tool

Solution 12 - Svn

Disabling Use command-line client from the settings on IntelliJ Ultimate 14.0.3 works for me.

I checked IDEA's document, IDEA don't need a SVN client software anymore. see below description from https://www.jetbrains.com/idea/help/using-subversion-integration.html

=================================================================

Prerequisites

IntelliJ IDEA comes bundled with Subversion plugin. This plugin is turned on by default. If it is not, make sure that the plugin is enabled. IntelliJ IDEA's Subversion integration does not require a standalone Subversion client. All you need is an account in your Subversion repository. Subversion integration is enabled for the current project root or directory.

==================================================================

Solution 13 - Svn

If you're going with Manoj's solution (https://stackoverflow.com/a/29509007/2024713) and still having the problem try switching off "Enable interactive mode" if available in your version of IntelliJ. It worked for me

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionJULIIncognitoView Question on Stackoverflow
Solution 1 - SvnRazvanView Answer on Stackoverflow
Solution 2 - SvnManoj BeheraView Answer on Stackoverflow
Solution 3 - SvnVicView Answer on Stackoverflow
Solution 4 - SvnErmannoSView Answer on Stackoverflow
Solution 5 - SvndanidemiView Answer on Stackoverflow
Solution 6 - SvnKrishna GollapudiView Answer on Stackoverflow
Solution 7 - SvnGaurav BView Answer on Stackoverflow
Solution 8 - SvnMeoView Answer on Stackoverflow
Solution 9 - Svnsan242View Answer on Stackoverflow
Solution 10 - Svnv.budennyyView Answer on Stackoverflow
Solution 11 - SvnAugusto JimenezView Answer on Stackoverflow
Solution 12 - SvnFrank WuView Answer on Stackoverflow
Solution 13 - SvnKubaView Answer on Stackoverflow