Diffstat (limited to 'CVSROOT/syncmail')
1 files changed, 7 insertions, 2 deletions
diff --git a/CVSROOT/syncmail b/CVSROOT/syncmail
index ce467a80ba..3e61116a29 100755
@@ -49,6 +49,9 @@ Use <path> as the environment variable CVSROOT. Otherwise this
Produce a unified diff (smaller, but harder to read).
+ -U user
+ Mark diff as made by user.
CVS %%s loginfo expansion. When invoked by CVS, this will be a single
string containing the directory the checkin is being made in, relative
@@ -174,6 +177,8 @@ def main():
contextlines = 2
elif opt == '-u':
contextlines = 0
+ elif opt == '-U':
+ username = arg
# What follows is the specification containing the files that were
# modified. The argument actually must be split, with the first component
@@ -198,8 +203,8 @@ def main():
if specs[-3:] == ['-', 'New', 'directory']:
- print 'Generating notification message...'
- blast_mail(mailcmd, specs[1:], contextlines)
+ print '%s generating notification message...' % username
+ # blast_mail(mailcmd, specs[1:], contextlines)
print 'Generating notification message... done.'