Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (9 sloc) 195 Bytes
#!/usr/bin/env ruby -w
def unversioned_files
`svn status`.
select { |line| line =~ /^\?/ }.
collect { |line| line[7..-1] }
end
unversioned_files.each do |file|
`svn add #{file}`
end