This time my first rake task – adding content to Subversion repository. I took example Ruby code given on http://wiki.rubyonrails.org/rails/pages/HowtoUseRailsWithSubversion changed a little (in rake task I can not find way to read from stdin) to get input for commit message.
So, if You find useful such a code: download http://nhw.pl/download/svn.rake, put it in Yours application lib/tasks/
directory. If You have setup Your applicatio to work with Subversion, now it is enough to run rake svn COMMIT_MSG='blah, blah'
add all new files and commit changes with given message.