svn commit failed: Could not use external editor to fetch log message
2015-09-07 15:57
435 查看
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拿不到log message
解决方法2种
1:附上参数 --message (-m) 或 --file (-F)即可
比如:svn ci -m "fix bugs in xxx.cpp"
或者将log message写到指定文件中,如message.log,然后svn ci -F message.log
2:设置SVN_EDITOR
exprot SVN_EDITOR=vim
或在~/.bash_profile中添加一行:export SVN_EDITOR=vim
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拿不到log message
解决方法2种
1:附上参数 --message (-m) 或 --file (-F)即可
比如:svn ci -m "fix bugs in xxx.cpp"
或者将log message写到指定文件中,如message.log,然后svn ci -F message.log
2:设置SVN_EDITOR
exprot SVN_EDITOR=vim
或在~/.bash_profile中添加一行:export SVN_EDITOR=vim
相关文章推荐
- JavaScript面向对象编程--学习
- jquery仅用6行代码实现滑动门效果
- ExtJS 学习总结 (一)-- MVVM框架概述
- jQuery中,子页面与父页面之间的调用方法
- JS----拖拽图层,面向过程,面向对象
- 【前端也要学点算法】快速排序的JavaScript实现
- ie上 CSS3114: @font-face 未能完成 OpenType 嵌入权限检查。(包括图标无法显示)
- Caffe学习笔记3-Layer的相关学习
- html解析器 HtmlAgilityPack
- js读取配置文件(理解版)
- protobuf-net与FlatBuffers
- javascript canvas 碰撞检测
- 前端开发 Grunt 之 Connect
- jQuery编程规范与最佳实践(附带一些个人的笔记)
- html5 audio video output
- FastJson使用详解Demo
- JS 继承
- 使用JSON进行数据传输
- XML和JSON数据解析
- 通过前台jquery调用本地WebService(一) SOAP体