当前位置: 代码迷 >> CVS/SVN >> svn命令提交异常
  详细解决方案

svn命令提交异常

热度:4529   发布时间:2013-02-26 00:00:00.0
svn命令提交错误
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 are set, and no 'editor-cmd' run-time configuration option was found
?
svn: 提交失败(细节如下):
svn: 无法使用外部编辑器获得日志信息;考虑设置环境变量 $SVN_EDITOR,或者使用 --message (-m) 或 --file (-F) 选项
svn: 没有设置 SVN_EDITOR,VISUAL 或 EDITOR 环境变量,运行时的配置参数中也没有 “editor-cmd” 选项
?
?
解决方法:
?设置SVN_EDITOR环境变量:
?????? SVN_EDITOR环境变量是制定一个日志编辑器,设置其值为任一一个编辑器即可(vi vim gedit notepad 等)。
????? ex: export? SVN_EDITOR=vi
  相关解决方案