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!

猜你喜欢

转载自blog.csdn.net/OP_Kapu/article/details/80222738