IT

Intellij idea 서브 버전 체크 아웃 오류 :`“svn”프로그램을 실행할 수 없습니다`

lottoking 2020. 6. 26. 07:51
반응형

Intellij idea 서브 버전 체크 아웃 오류 :`“svn”프로그램을 실행할 수 없습니다`


나는 intellij idea 13.0을 사용하고 있습니다. Subversion에서 체크 아웃하려고 할 때 오류가 발생합니다

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

이 문제를 어떻게 해결합니까?


Subversion 설정에서 "명령 줄 클라이언트 사용"옵션을 해제하여이 문제를 해결했습니다.

버전 1.6 및 1.7에서만 작동합니다. SVN 버전 1.8에 대한 @Vic의 답변을 참조하십시오.


내 솔루션을 확인하십시오. 작동합니다.

솔루션 :

첫번째 다운로드 Subversion 1.8.13 (1.8) 다운로드 링크 ( https://www.visualsvn.com/downloads/ )

여기에 이미지 설명을 입력하십시오

그런 다음 폴더에서 압축을 풉니 다. 하나의 폴더 "bin"이 있습니다.

그때

설정-> 버전 관리-> Subversion으로 이동하십시오.

다운로드 한 bin 폴더에있는 다운로드 한 svn.exe의 URL을 복사하십시오.

그림을 따르십시오 :

여기에 이미지 설명을 입력하십시오

이미지 당 마지막으로 svn.exe와 같은 최종 이름을 지정하는 것을 잊지 마십시오.

적용-> 확인

Restart your android studio now.

Happy Coding!


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


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


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

여기에 이미지 설명을 입력하십시오

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

여기에 이미지 설명을 입력하십시오

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

여기에 이미지 설명을 입력하십시오

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


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


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.


Seems related to this issue IDEA-117518


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


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

# aptitude install subversion subversion-tool

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.

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


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


IntelliJ는 Subversion 설정에 subversion 명령 (svn)을 추가해야합니다. 단계는 다음과 같습니다. 1. 하위 버전을 다운로드하여 설치합니다. 2. Windows (cmd)의 명령 줄 프롬프트에서 동일한 명령-svn을 확인하십시오.

여기에 이미지 설명을 입력하십시오

  1. 파일-> 설정-> 버전 제어-> 서브 버전에 추가 된 svn 명령의 유효성 검사 여기에 이미지 설명을 입력하십시오

  2. IntelliJ 스튜디오를 종료하고 다시 시작하십시오.

참고 URL : https://stackoverflow.com/questions/20797443/intellij-idea-subversion-checkout-error-cannot-run-program-svn

반응형