About this user

Anton Kovalyov http://anton.kovalyov.net

« Newer Snippets
Older Snippets »
1 total  XML / RSS feed 

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
« Newer Snippets
Older Snippets »
1 total  XML / RSS feed