# File lib/capistrano/recipes/deploy/scm/cvs.rb, line 82 def handle_data(state, stream, text) logger.info "[#{stream}] #{text}" case text when /\bpassword.*:/i # prompting for a password "#{variable(:scm_password) || variable(:password)}\n" when %r{\(yes/no\)} # let's be agreeable... "yes\n" end end