Intellij idea subversion checkout error: `Cannot r

2019-01-20 23:51发布

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?

12条回答
趁早两清
2楼-- · 2019-01-21 00:29

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

查看更多
一纸荒年 Trace。
3楼-- · 2019-01-21 00:30

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

查看更多
该账号已被封号
4楼-- · 2019-01-21 00:34

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!

查看更多
看我几分像从前
5楼-- · 2019-01-21 00:34

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.

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

查看更多
可以哭但决不认输i
6楼-- · 2019-01-21 00:37

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

查看更多
\"骚年 ilove
7楼-- · 2019-01-21 00:38

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

查看更多
登录 后发表回答