How To Set SVN_EDITOR Environment Variable To Vim
2012-11-09 14:14 -king 阅读(376) 评论(0) 收藏 举报Problem: You are trying to use the command svn propedit svn:externals and you are receiving the error:
svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no 'editor-cmd' run-time configuration option was found
Solution: Set vim as your SVN_EDITOR
Command:
export SVN_EDITOR=vim
To permanently set this environment variable put the below line in your ~/.bash_profile file.
export SVN_EDITOR=vim
浙公网安备 33010602011771号