From: "Rebhan, Gilbert" Date: 2007-02-26T21:40:47+09:00 Subject: retry / redo question Hi, i have a ruby script that does for 1 - n folders a cp_r of every folder to an existing cvs workspace and afterwards the cvs operations update to determine if add is needed add if needed 1-n times commit As the cvs CLI lacks a recursive parameter for the update / add commands, means when a new file like subfolder/subfile.txt comes in the add command only recognizes subfolder, but the subfile.txt only after a 2nd add command i have to do = 1. updpipe=IO.popen("#{CVSEXE} -d #{CVSROOT} update") updpipe.readlines.each { |x| updfiles<<'.'<<'/'< 0 addfiles=Array.new addpipe=IO.popen("#{CVSEXE} -d #{CVSROOT} add #{updfiles.to_s}") addpipe.readlines.each { |x| addfiles<<'.'<<'/'<