SVN提交异常 file is scheduled for addition, but is missing

下午在提交SVN代码的时候遇到了提交异常不能提交的问题,异常的详细内容见下面:

wangxiangzhongdeMacBook-Air:account wangxiangzhong$ svn ci --force-log -m '账户授权改版'
svn: E155010: Commit failed (details follow):
svn: E155010: '/Users/wangxiangzhong/Sites/intl-style/deploy/htdocs/js/6v/biz/bp/ibp-2v/account/search-account/examples/authorityManage.html' is scheduled for addition, but is missing

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

解决方案为:

svn revert /Users/wangxiangzhong/Sites/intl-style/deploy/htdocs/js/6v/biz/bp/ibp-2v/account/search-account/examples/authorityManage.html

svn ci -m 'XXXXX'


关于svn revert的命令行的使用方法见这里。


你可能感兴趣的:(工作)