SVN: ‘xxxx’ is scheduled for addition, but is missing

  • A+
所属分类:svn 技巧

SVN: 'xxxx' is scheduled for addition, but is missing

错误提示

删除文件夹'xxxx'后点commit提交,出现如下提示:
svn: Commit failed (details follow): svn: '/***' is scheduled for addition, but is missing

出错原因

之前用SVN add过的文件,被标记为"add"状态,等待被加入到仓库。但此时又将该文件夹删除,SVN commit的时候还是会尝试提交这个文件,但此时它的状态已经是 "missing"了,所以出错。

解决方法

回退该文件夹'xxxx'。然后再重新提交。
svn revert 'xxxx' --depth infinity

百分购

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: