lib/tasks/add.rb in dev-2.0.270 vs lib/tasks/add.rb in dev-2.0.271
- old
+ new
@@ -19,14 +19,12 @@
status=Command.output("svn status #{f}")
error=Command.error("svn status #{f}")
end
if(status.include?('?') || status.include?('was not found') || error.include?('was not found'))
if(f.include?(' '))
- #puts "svn add \"#{f}\" --parents"
- add_quiet add "svn add \"#{f}\" --parents"
+ add_quiet "svn add \"#{f}\" --parents"
else
- #puts "svn add #{f} --parents"
add_quiet "svn add #{f} --parents"
end
end
end
}
@@ -34,10 +32,9 @@
if(File.exists?('.git'))
SOURCE.each{|f|
if(File.exists?(f) && File.file?(f))
status=Command.output("git status #{f} --short")
if status.include?('??') || status.include?(' M ')
- #puts "git add #{f} -v"
add_quiet "git add #{f} -v"
end
end
}
end
\ No newline at end of file