From: Fred L. D. <fd...@us...> - 2003-07-09 23:13:40
|
Update of /cvsroot/cvs-syncmail/syncmail In directory sc8-pr-cvs1:/tmp/cvs-serv30132 Modified Files: syncmail Log Message: Delay loading information from the CVS work directory until we actually expect to send an email. Index: syncmail =================================================================== RCS file: /cvsroot/cvs-syncmail/syncmail/syncmail,v retrieving revision 1.35 retrieving revision 1.36 diff -u -d -r1.35 -r1.36 --- syncmail 9 Jul 2003 21:26:57 -0000 1.35 +++ syncmail 9 Jul 2003 23:13:37 -0000 1.36 @@ -423,8 +423,6 @@ # $CVSROOT, followed by the list of files that are changing. if not args: usage(1, 'No CVS module specified') - changes = load_change_info() - branch = load_branch_name() subject = subject_prefix + args[0] specs = string.split(args[0]) del args[0] @@ -439,6 +437,9 @@ if specs[-3:] == ['-', 'Imported', 'sources']: print 'Not sending email for imported sources.' return + + branch = load_branch_name() + changes = load_change_info() if verbose: print 'Mailing %s...' % string.join(people, COMMASPACE) |