Update of /cvsroot/cvs-syncmail/syncmail
In directory usw-pr-cvs1:/tmp/cvs-serv25859
Modified Files:
syncmail
Log Message:
Add a couple of comments, since I don't look at this very often. ;-)
Index: syncmail
===================================================================
RCS file: /cvsroot/cvs-syncmail/syncmail/syncmail,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- syncmail 11 Nov 2002 17:42:07 -0000 1.24
+++ syncmail 14 Nov 2002 16:15:44 -0000 1.25
@@ -176,6 +176,7 @@
# quote it with single-quotes.
filestr = "'" + file + "'"
if oldrev == 'NONE':
+ # File is being added.
try:
if os.path.exists(file):
fp = open(file)
@@ -200,6 +201,7 @@
elif newrev == 'NONE':
lines = ['--- %s DELETED ---\n' % file]
else:
+ # File has been changed.
# This /has/ to happen in the background, otherwise we'll run into CVS
# lock contention. What a crock.
if contextlines > 0:
|