Im using SVN for the first time, so probably this is a basic question.
The app im using under svn, the problem is that one task of the application is to add/remove folders/files automatically; When i commit, i want to update the repository with the current folder tree.
I saw how to add all created files/folder, with svn add -f myapp/*, but i get an error if i delete a folder that was already in the repository: svn: Directory '/myapp/folder' is missing.
How can I tell SVN to remove missing folder/files from repo during commit?
I know svn has the remove command, but is kindly an headcache to use everytime i remove something.
Update: Thanks to jon’s link, i found this command: svn rm $( svn status [LOCAL_COPY_PATH] | sed -e '/^!/!d' -e 's/^!//' ) [LOCAL_COPY_PATH] that fullfill my needs.
You should always use
svn deleterather than just deleting folders/files from the repo. That being said, it looks like someone wrote a script to do this:svn commit missing file automatically