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:40

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.

查看更多
不美不萌又怎样
3楼-- · 2019-01-21 00:40

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

查看更多
乱世女痞
4楼-- · 2019-01-21 00:43

Seems related to this issue IDEA-117518

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

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

3) 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

4) 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.

查看更多
ゆ 、 Hurt°
6楼-- · 2019-01-21 00:47

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.

查看更多
冷血范
7楼-- · 2019-01-21 00:53

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

# aptitude install subversion subversion-tool
查看更多
登录 后发表回答