【SVN】總結(1):svn常見問題(2016-01-06)
svn在commit後報錯:is scheduled for addition, but is missing[root@jidong-fileserver ~]# svn ci ''
原因:之前用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
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
最後更新:2017-07-24 23:02:42