# File checkcase.rb, line 64 def validate() badlist = Hash.new change.each_file do |file| # Ignore files not open for add or branch action = file.revisions[ 0 ].action next unless ( action == "add" || action == "branch" ) if ( mismatch_exists( file.depot_file ) ) # @mismatch set by mismatch_exists() et. al. badlist[ file.depot_file ] = @mismatch end end # Now report any problems to the user report( badlist ) if ( ! badlist.empty? ) return badlist.empty? end