[Plib-cvs] CVSROOT syncmail,1.12,1.13
Brought to you by:
sjbaker
From: Sebastian U. <ud...@us...> - 2002-08-24 20:55:44
|
Update of /cvsroot/plib/CVSROOT In directory usw-pr-cvs1:/tmp/cvs-serv4904 Modified Files: syncmail Log Message: Updated to rev. 1.20 from cvs-syncmail CVS repository Index: syncmail =================================================================== RCS file: /cvsroot/plib/CVSROOT/syncmail,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- syncmail 23 May 2002 19:18:53 -0000 1.12 +++ syncmail 24 Aug 2002 20:55:41 -0000 1.13 @@ -47,6 +47,10 @@ -u Produce a unified diff (smaller). + -S TEXT + --subject-prefix=TEXT + Preprend TEXT to the email subject line. + --quiet / -q Don't print as much status to stdout. @@ -71,7 +75,7 @@ [...82 lines suppressed...] verbose = 0 elif opt in ('-f', '--fromhost'): @@ -289,7 +297,7 @@ # $CVSROOT, followed by the list of files that are changing. if not args: usage(1, 'No CVS module specified') - subject = args[0] + subject = subject_prefix + args[0] specs = string.split(args[0]) del args[0] @@ -303,7 +311,7 @@ if verbose: print 'Mailing %s...' % string.join(people, COMMASPACE) - if specs == ['-', 'Imported', 'sources']: + if specs[-3:] == ['-', 'Imported', 'sources']: return if specs[-3:] == ['-', 'New', 'directory']: del specs[-3:] |