Intellij idea subversion checkout error: `Cannot run program “svn”`

前端 未结 13 554
轻奢々
轻奢々 2020-12-12 11:48

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\": Cre         


        
相关标签:
13条回答
  • 2020-12-12 12:28

    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.

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

    0 讨论(0)
  • 2020-12-12 12:29

    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!

    0 讨论(0)
  • 2020-12-12 12:29

    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

    0 讨论(0)
  • 2020-12-12 12:32

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

    0 讨论(0)
  • 2020-12-12 12:32

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

    0 讨论(0)
  • 2020-12-12 12:36

    Basically, what IntelliJ needs is svn.exe. You will need to install Subversion for Windows. 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.

    0 讨论(0)
提交回复
热议问题