# File checkcase.rb, line 121 def mismatch_dirs( depot, dirs ) match = false path = "//" + depot dirs.each do |dir| lcpath = path.downcase p4.run_dirs( path + "/*" ).each do |d| d = d[ "dir" ] # We're in tagged mode dname = d.sub( path + "/", "" ) if ( dir.downcase == dname.downcase ) # We found a match if ( dir != dname ) match = true @mismatch = d end break end end # If we found a mismatch, we can break out now break if ( match ) # This level is now OK, we need to descend to the # next level in the tree path << "/" << dir end match end