我有一个正在使用Netbeans 6.1构建的项目,并且正在使用SVN.我删除了本地计算机上的一些文件,然后尝试将更改提交到SVN存储库.提交失败并显示错误消息
I have a project that I am building with Netbeans 6.1 and I am using SVN. I deleted some files on the local machine then attempted to commit my changes to th SVN repository. The commit fails with the error message
"C:\ path \ to \ project \ myfile"的条目没有URL
Entry for 'C:\path\to\project\myfile' has no URL
myfile是已删除文件.
Where myfile is the deleted file.
是否可以通过某种方式告诉SVN该文件已从项目中删除,并且应从存储库中删除该文件?
Is there some way to tell SVN that the file was deleted from the project and that it should be deleted from the repository?
推荐答案svn更新会将文件带回,从而修复了本地存储库.
An svn update will bring the file back, fixing your local repo.
然后,您应该可以在文件上进行"svn删除",这告诉您的本地存储库要删除该文件,并且还可以从文件系统中删除该文件.
You should then be able to do an "svn delete" on the file, which tells your local repo that the file is to be deleted, and also deletes it from the file system.
然后您应该能够将更改提交回存储库.
You should then be able to commit the changes back to the repo.
更多推荐
本地删除文件后SVN提交错误
发布评论