把系统换成了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) optionssvn: 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的时候有时候会碰到这样的错误
可是检测来检测去。服务器的配置都没有错。他也可以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