| 3 |
# collect_diffs.rb expects to find this script in the same directory as it |
# collect_diffs.rb expects to find this script in the same directory as it |
| 4 |
# |
# |
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
# TODO: exemplify syntax for 'cvs admin -m' when log message is missing |
# TODO: exemplify syntax for 'cvs admin -m' when log message is missing |
| 9 |
# TODO: make max-line limit on diff output configurable |
# TODO: make max-line limit on diff output configurable |
| 10 |
# TODO: put max size limit on whole email |
# TODO: put max size limit on whole email |
| 753 |
all_files = all_files + " " + file |
all_files = all_files + " " + file |
| 754 |
end |
end |
| 755 |
end |
end |
| 756 |
mailSubject = "#{$subjectPrefix} file #{$mailSubject}" |
mailSubject = "#{$subjectPrefix} all_files #{$mailSubject}" |
| 757 |
if mailSubject.length > $maxSubjectLength |
if mailSubject.length > $maxSubjectLength |
| 758 |
mailSubject = mailSubject[0, $maxSubjectLength] |
mailSubject = mailSubject[0, $maxSubjectLength] |
| 759 |
end |
end |