Changed format of commit messages.

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1302 379699f6-c40d-0410-875b-85095c16579e
master
hoenicke 24 years ago
parent 5a22174883
commit 2ae9fec86a
  1. 11
      CVSROOT/syncmail

@ -58,7 +58,7 @@ import time
import getopt import getopt
# Notification command # Notification command
MAILCMD = '/bin/mail -s "CVS: %(SUBJECT)s" %(PEOPLE)s 2>&1 > /dev/null' MAILCMD = '/bin/mail -s "%(SUBJECT)s" %(PEOPLE)s 2>&1 > /dev/null'
# Diff trimming stuff # Diff trimming stuff
DIFF_HEAD_LINES = 20 DIFF_HEAD_LINES = 20
@ -181,8 +181,15 @@ def main():
# $CVSROOT, followed by the list of files that are changing. # $CVSROOT, followed by the list of files that are changing.
if not args: if not args:
usage(1, 'No CVS module specified') usage(1, 'No CVS module specified')
SUBJECT = args[0]
specs = string.split(args[0]) specs = string.split(args[0])
changedfiles = [ specs[0] ];
for filespec in specs[1:]:
try:
file, oldrev, newrev = string.split(filespec, ',')
changedfiles.append(file)
except ValueError:
changedfiles.append(filespec)
SUBJECT = string.join(changedfiles, ' ')
del args[0] del args[0]
# The remaining args should be the email addresses # The remaining args should be the email addresses

Loading…
Cancel
Save