SVN commit error after deleting files locally

commitnetbeanssvnversion control

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

Entry for 'C:\path\to\project\myfile' has no URL

Where myfile is the deleted file.

Is there some way to tell SVN that the file was deleted from the project and that it should be deleted from the repository?

Best Answer

An svn update will bring the file back, fixing your local repo.

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.