Вeing a happy user of git I now have to switch back to svn开发者_运维问答 in one of the projects. I use it through the shell in Ubuntu and look for some command which may be similar to "git add ." - looking for all the files and folders being added, deleted or moved and making appropriate changes in the repository.
Does it exist? It seems so strange to me that you have to tell it svn explicitly every time you want to delete or move something..
Your tips will save my time, thanks! :)
Use svn rm $( svn status | sed -e '/^!/!d' -e 's/^!//' )
See http://geryit.com/blog/2011/03/command-line-subversion-practices/ for more command line subversion
i don't know if this is what you are looking for, but
svn add * --force
will add all files in subdirectories.
You might be able to make use of incron or inotifywait to take action upon changes in selected portions of your filesystem.
精彩评论