lib/tasks/add.rb in dev-2.0.147 vs lib/tasks/add.rb in dev-2.0.148
- old
+ new
@@ -11,10 +11,10 @@
if(defined?(SOURCE))
if(File.exists?('.svn'))
SOURCE.each{|f|
if(File.exists?(f) && File.file?(f))
status=Command.output("svn status #{f}")
- #error=Command.error("svn status #{f}")
+ error=Command.error("svn status #{f}")
if(status.include?('?') || status.include?('was not found') || error.include?('was not found'))
puts "svn add #{f} --parents"
add "svn add #{f} --parents"
else
#puts "#{status}" if status.strip.length > 0
\ No newline at end of file