首页 > 代码库 > svn提交异常file is scheduled for addition, but is missing

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: ‘/Volumes/File/ymall_Project/daling/trunk/GiftShop/GiftShop/YmallControl/QCheckbox/GSCheckBoxBank‘ is scheduled for addition, but is missing

 

错误原因:

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

 

解决方法:

svn revert /Volumes/File/ymall_Project/daling/trunk/GiftShop/GiftShop/YmallControl/QCheckbox/GSCheckBoxBank

svn ci -m "xxx"


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