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 |
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 |