Deleting locally deleted folder.
When you came across a problem - You accidentally delete the folder and its content locally and don't bother to do it via Subversion. On the next commit in Netbeans SVN will complain about missing files thinking there still should be something in it. Fortunatelly there is a way around.
- Commit all changes in all other folders in the parent folder where the deleted stuff was.
- Exit Netbeans (It won't work when Netbeans is running)
- In Terminal as root go into the directory where the deleted folder used to be.
- Make the folder with the same name $:mkdir ./folder_name
- Add the folder to subversion $:svn add ./folder_name
- Force delete the folder from subversion $:svn --force rm ./folder_name
- Open Netbeans again and do the update on parent folder
- Now you can commit freely again
Hi Andrej, what is the best way to contact you?
ReplyDelete