您的位置:首页 > 其它

svn: None of the environment variables SVN_EDITOR...问题解决

2013-04-22 16:08 288 查看
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编辑器的环境变量,主要是import、commit中填写comment要用

解决办法:

编辑 /etc/bashrc 文件,加入如下一行:

export SVN_EDITOR=vim
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐