Created
April 7, 2010 10:45
-
-
Save bluefuton/358737 to your computer and use it in GitHub Desktop.
Subversion: Rake task to mark any new files as added
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :svn do | |
desc "Subversion: mark any new files as added" | |
task :add do | |
system "svn status | grep '^\?' | sed -e 's/? *//' | sed -e 's/ /\ /g' | xargs svn add" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment