[root@jidong-fileserver ~]# svn ci ''
svn: Commit failed (details follow):
svn: '/root/script/test/mkdir_ip.sh' is scheduled for addition, but is missing
原因:之前用SVN提交过的文件,被标记为"add"状态,等待被加入到仓库。若此时你把这个文件删除了,SVN提交的时候还是会尝试提交这个文件,虽然它的状态已经是 "missing"了。
解决:在命令行下用 "svn revert xxx.c --depth infinity",在图形界面下,右键--Revert,选中那个文件。这样就告诉SVN把这个文件退回到之前的状态 "unversioned",也就是不对这个文件做任何修改。
[root@jidong-fileserver ~]# svn ci ''
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 ci是没有带参数,-m或者-f