svn ci错误
2015-10-20 13:06
288 查看
把系统换成了10.9之后,各种问题。 用svn做个分支,提示下面的错误:
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要用
在 终端中 sudo vim /etc/bashrc 打开文件
加入:export SVN_EDITOR=vim
如果,保存的时候,无法保存。wq! 强制保存退出
还有:
编辑完以后一般需要让配置文件立即生效,可执行命令:
source /etc/bashrc
SVN不能提交 Error Commit Failed (details Follow): Error Authorization Failed
使用svn的时候有时候会碰到这样的错误
可是检测来检测去。服务器的配置都没有错。他也可以update但就是commit不了
Error Commit Failed (details Follow): Error Authorization Failed
你的帐号跟他的帐号在同一组的。 你的机子这边没有错,你可以commit
原来是URL 中的项目名有一个字母小写了。SVN有时候会大小写敏感。前几天都可以正常提交的
TortoiseSVN 可以使用Relocate来更改服务器的地址
编码问题-----
svn commit fail:
svn: E000022: Commit failed (details follow):
svn: E000022: Error normalizing log message to internal format
svn: E000022: Valid UTF-8 data
解决办法:
vi ~/.subversion/config
log-encoding = gbk
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要用
在 终端中 sudo vim /etc/bashrc 打开文件
加入:export SVN_EDITOR=vim
如果,保存的时候,无法保存。wq! 强制保存退出
还有:
编辑完以后一般需要让配置文件立即生效,可执行命令:
source /etc/bashrc
SVN不能提交 Error Commit Failed (details Follow): Error Authorization Failed
使用svn的时候有时候会碰到这样的错误
可是检测来检测去。服务器的配置都没有错。他也可以update但就是commit不了
Error Commit Failed (details Follow): Error Authorization Failed
你的帐号跟他的帐号在同一组的。 你的机子这边没有错,你可以commit
原来是URL 中的项目名有一个字母小写了。SVN有时候会大小写敏感。前几天都可以正常提交的
TortoiseSVN 可以使用Relocate来更改服务器的地址
编码问题-----
svn commit fail:
svn: E000022: Commit failed (details follow):
svn: E000022: Error normalizing log message to internal format
svn: E000022: Valid UTF-8 data
解决办法:
vi ~/.subversion/config
log-encoding = gbk
相关文章推荐
- ActivityLifecycleCallbacks 对Activity的生命周期事件进行集中处理
- Project ERROR: Unknown module(s) in QT: xlsx
- [置顶] 读后有感 - 残忍但诚实的忠告:您没钱,就不要掺和这事了
- UIAlertController
- 今日之听讲座
- java基础 传递参数
- RecycleView三种表现形式的上拉加载和下拉刷新
- JS基本数据类型和引用数据类型的区别
- linux shell 脚本中创建对话框 (whiptail 工具)
- epoll
- LabVIEW设计模式系列——普遍使用值改变事件
- 数据库锁
- Android事件机制详细解读
- Git
- xListView的使用步骤
- test
- LabVIEW设计模式系列——事件结构中值改变事件
- Leetcode Unique Paths
- [NOIP集训]10月19日
- C++primer学习:拷贝控制(5):动态内存管理类_编写自己的vector