summaryrefslogtreecommitdiff
path: root/CVSROOT/syncmail
diff options
context:
space:
mode:
Diffstat (limited to 'CVSROOT/syncmail')
-rwxr-xr-xCVSROOT/syncmail9
1 files changed, 7 insertions, 2 deletions
diff --git a/CVSROOT/syncmail b/CVSROOT/syncmail
index ce467a80ba..3e61116a29 100755
--- a/CVSROOT/syncmail
+++ b/CVSROOT/syncmail
@@ -49,6 +49,9 @@ Use <path> as the environment variable CVSROOT. Otherwise this
49 -u 49 -u
50 Produce a unified diff (smaller, but harder to read). 50 Produce a unified diff (smaller, but harder to read).
51 51
52 -U user
53 Mark diff as made by user.
54
52 <%%S> 55 <%%S>
53CVS %%s loginfo expansion. When invoked by CVS, this will be a single 56CVS %%s loginfo expansion. When invoked by CVS, this will be a single
54 string containing the directory the checkin is being made in, relative 57 string containing the directory the checkin is being made in, relative
@@ -174,6 +177,8 @@ def main():
174 contextlines = 2 177 contextlines = 2
175 elif opt == '-u': 178 elif opt == '-u':
176 contextlines = 0 179 contextlines = 0
180 elif opt == '-U':
181 username = arg
177 182
178 # What follows is the specification containing the files that were 183 # What follows is the specification containing the files that were
179 # modified. The argument actually must be split, with the first component 184 # modified. The argument actually must be split, with the first component
@@ -198,8 +203,8 @@ def main():
198 return 203 return
199 if specs[-3:] == ['-', 'New', 'directory']: 204 if specs[-3:] == ['-', 'New', 'directory']:
200 del specs[-3:] 205 del specs[-3:]
201 print 'Generating notification message...' 206 print '%s generating notification message...' % username
202 blast_mail(mailcmd, specs[1:], contextlines) 207 # blast_mail(mailcmd, specs[1:], contextlines)
203 print 'Generating notification message... done.' 208 print 'Generating notification message... done.'
204 209
205 210