Rake task that adds all unversioned files to the repository
task :add_all_to_svn do `svn status --show-updates`.each { |l| l = l.split system("svn add #{l.last}") if l.first == "?" # File is not under version control } end
TextSnippets > simanyay > ruby
1159 users tagging and storing useful source code snippets
Anton Kovalyov http://anton.kovalyov.net
task :add_all_to_svn do `svn status --show-updates`.each { |l| l = l.split system("svn add #{l.last}") if l.first == "?" # File is not under version control } end