handle_data (Capistrano::Deploy::SCM::Perforce)

    # File lib/capistrano/recipes/deploy/scm/perforce.rb, line 69
            def handle_data(state, stream, text)
              case text
              when /\(P4PASSWD\) invalid or unset\./i
                      raise Capistrano::Error, "scm_password (or p4passwd) is incorrect or unset"
              when /Can.t create a new user.*/i
                      raise Capistrano::Error, "scm_username (or p4user) is incorrect or unset"
              when /Perforce client error\:/i
                      raise Capistrano::Error, "p4port is incorrect or unset"
              when /Client \'[\w\-\_\.]+\' unknown.*/i
                      raise Capistrano::Error, "p4client is incorrect or unset"
              end
            end