From: Fred L. D. <fd...@us...> - 2003-07-09 17:38:01
|
Update of /cvsroot/cvs-syncmail/syncmail In directory sc8-pr-cvs1:/tmp/cvs-serv29258 Modified Files: syncmail Log Message: When Entries.Log doesn't tell us anything about a file, remove it from the entries we care about and print a message; don't bomb. Index: syncmail =================================================================== RCS file: /cvsroot/cvs-syncmail/syncmail/syncmail,v retrieving revision 1.31 retrieving revision 1.32 diff -u -d -r1.31 -r1.32 --- syncmail 9 Jul 2003 04:54:35 -0000 1.31 +++ syncmail 9 Jul 2003 17:37:58 -0000 1.32 @@ -342,7 +342,9 @@ d[name].new_revision = None f.close() for entry in d.values(): - assert hasattr(entry, "new_revision") + if not hasattr(entry, "new_revision"): + print 'confused about file', entry.file, '-- ignoring' + del d[entry.name] return d def load_branch_name(): |