/[cvs]/jonen/ruby/CVSspam/cvsspam.rb
ViewVC logotype

Diff of /jonen/ruby/CVSspam/cvsspam.rb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by jonen, Sat Jan 18 23:51:48 2003 UTC revision 1.5 by jonen, Sat Jan 18 23:58:36 2003 UTC
# Line 747  if $subjectPrefix == nil Line 747  if $subjectPrefix == nil
747    $subjectPrefix = "[CVS #{Repository.array.join(',')}]"    $subjectPrefix = "[CVS #{Repository.array.join(',')}]"
748  end  end
749    $fileEntries.each do |file|    $fileEntries.each do |file|
750      unless file.repository == last_repository      unless file.repository == $subjectPrefix
751        last_repository = file.repository        last_repository = file.repository
752        file = #{htmlEncode(last_repository.common_prefix)}        file = #{htmlEncode(last_repository.common_prefix)}
753        all_files = all_files + " " + file        all_files = all_files + " " + file
754      end      end
755    end    end
756  mailSubject = "#{$subjectPrefix} all_files #{$mailSubject}"  mailSubject = all_files
757    mailSubject = "#{$subjectPrefix} #{$mailSubject}"
758  if mailSubject.length > $maxSubjectLength  if mailSubject.length > $maxSubjectLength
759    mailSubject = mailSubject[0, $maxSubjectLength]    mailSubject = mailSubject[0, $maxSubjectLength]
760  end  end

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.5

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed