简体   繁体   English

Svn:添加文件但在提交之前删除了一些:现在无法提交

[英]Svn: added files but deleted few before committing: not able to commit now

I added few files to svn repository. 我在svn repository中添加了几个文件。 But before I do commit, I deleted some of the pdf files. 但在我提交之前,我删除了一些pdf文件。 Now when I do a svn commit it syas ".pdf' is scheduled for addition, but is missing ". 现在,当我做一个svn提交时,syas“.pdf”计划添加,但是缺少“。 Please let me know is there a way to come out of this problem? 请让我知道有没有办法摆脱这个问题?

When you delete a file from repository - you need to explicitly specify that to svn. 从存储库中删除文件时 - 需要将其明确指定为svn。 So perform 所以表演

svn del filename

where filename is the path to the file that you has deleted already (the one which is missing) 其中filename是您已删除的文件的路径(缺少的文件)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM