SVN Commit 시, Could not use external editor to fetch log message

2011-10-18

svn commit 시에 간혹 다음과 같은 에러 메시지를 볼 수 있다.

svn: Commit failed (details follow): svn: Could not use external editor to fetch log message; consider setting the $SVN_EDITOR environment variable or using the --message (-m) or --file (-F) options svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR is set, and no 'editor-cmd' run-time configuration option was found

SVN_EDITOR 변수에 적절한 editor 실행파일명을 넣어서 해결할 수 있다.

$ vim ~/.bash_profile

export SVN_EDITOR=”/usr/bin/vim”


 
하고 나서 반드시, 세션을 종료하고  
다시 로그인을 해야한다. 

#Commit  #export  #SVN  #SVN_EDITOR  #unix  #유닉스  #커밋