SVN递交时提示‘file’ is scheduled for addition, but is missing

svn提交错误file is scheduled for addition, but is missing

svn ci -m ""
svn: E155010: Commit failed (details follow):
svn: E155010: '/Users/XXX/touchome/MVC/Pages/SmartPage/SmartSyncOnOff' is scheduled for addition, but is missing

错误原因:
产生问题的原因是有一个文件已经加入到版本库中,但是后来在文件系统中又移除了这个文件,所以不能够提交。

解决方法:
svn revert /Users/XXX/touchome/MVC/Pages/SmartPage/SmartSyncOnOff
svn ci -m "xxx"

注意:如果是文件夹,需要先revert子文件。

你可能感兴趣的:(SVN递交时提示‘file’ is scheduled for addition, but is missing)