MAC使用SVN遇到问题

SVN提交遇到的

没有设置SVN_EDITOR

svn commit 的时候提示如下

svn: E205007: Commit failed (details follow):
svn: E205007: 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: E205007: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no 'editor-cmd' run-time configuration option was found

解决方案

vim ~/.bash_profile
输入
export SVN_EDITOR=vi

ESC :wq!

你可能感兴趣的:(Java,Web开发)