class Rake::ThreadHistoryDisplay

def rename(hash, key, renames)

def rename(hash, key, renames)
  if hash && hash[key]
    original = hash[key]
    value = renames[original]
    unless value
      value = renames[:_seq_]
      renames[:_seq_] = renames[:_seq_].succ
      renames[original] = value
    end
    hash[key] = value
  end
end