没有设置 SVN_EDITOR,VISUAL 或 EDITOR 环境变量"的解决方
来源:互联网 发布:直销会员管理系统 php 编辑:程序博客网 时间:2024/04/28 21:54
作者:zhanhailiang 日期:2012-12-06
Linux环境下, svn ci文件时报错:
zhanhailiang@linux-06bq:~/public_html/itravel2> svn ci trunk/htdocs/help/index.phpsvn: 提交失败(细节如下): svn: 无法使用外部编辑器获得日志信息;考虑设置环境变量 $SVN_EDITOR,或者使用 --message (-m) 或 --file (-F) 选项svn: 没有设置 SVN_EDITOR,VISUAL 或 EDITOR 环境变量,运行时的配置参数中也没有 “editor-cmd” 选项
解决方法:在个人目录下编辑.bash_profile文件, 添加SVN_EDITOR环境变量即可:
export SVN_EDITOR=vim
SVNBook第217页专门指明该问题:
字符集转换错误当使用Subversion,你或许会碰到一个字符集转化关联的错误:svn: Can't convert string from native encoding to 'UTF-8':...svn: Can't convert string from 'UTF-8' to native encoding:...Errors such as this typically occur when the Subversion client has received a UTF-8 string fromthe repository, but not all of the characters in that string can be represented using the encodingof the current locale. For example, if your locale is en_US but a collaborator has committed aJapanese filename, you're likely to see this error when you receive the file during an svn update.The solution is either to set your locale to something that can represent the incoming UTF-8data, or to change the filename or log message in the repository. (And don't forget to slap yourcollaborator's hand—projects should decide on common languages ahead of time so that allparticipants are using the same locale.)
- 没有设置 SVN_EDITOR,VISUAL 或 EDITOR 环境变量"的解决方
- linux下"没有设置 SVN_EDITOR...."错误解决方法
- linux下"没有设置 SVN_EDITOR...."错误解决方法
- [svn]linux下"没有设置 SVN_EDITOR...."错误解决方法
- linux下"没有设置 SVN_EDITOR...."错误解决方法
- 解决MySQL“由于连接方在一段时间后没有正确答复或连接的主机没有反应”的问题
- svn rm 时报错 svn: E205007: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and
- intel inspector xe的VISUAL(EDITOR)变量的设置
- Visual Studio 类似 Eclipse中的 Link with Editor 的设置
- svn:无法使用外部编辑器获得日志信息;考虑设置环境变量$SVN_EDITOR
- Eclipse Visual Editor的替代
- rosb笔记:bug时间:环境变量设置问题——“解决 roscd beginner_tutorials 没有此文件的问题”
- Visual Studio 2008 环境变量的配置(参考设置VS2010)
- Visual Studio 2008 环境变量的配置(参考设置VS2010)
- Visual Studio 应用第三方库的设置方法
- 如何在没有管理员权限的win7上设置环境变量
- 解决第三方DLL没有强签名的问题
- visual Editor
- JavaScript实现贪吃蛇
- CVS 版本控制器
- 《warning C4996: 'sprintf' was declared deprecated see declaration of 'sprintf'》
- record01.m%duration*fs 是总的采样点数
- OPENCV2.4.3在VS2012中的配置
- 没有设置 SVN_EDITOR,VISUAL 或 EDITOR 环境变量"的解决方
- 移植opencv 到codec engine 成功
- 设计模式11 - Flyweight
- C++第15周项目2——杨辉三角
- visualsvn集成vs的插件如何使用新的repository
- 使用样式控制gridview的宽度
- SQLT(SQLTXPLAIN)
- 2 双向链表 PushBack/PopFront
- 纵谈进程枚举