diff --git a/syncmail b/syncmail index 403f59ca..b2b980d7 100755 --- a/syncmail +++ b/syncmail @@ -1,4 +1,5 @@ #! /usr/bin/python +# -*- coding: iso-8859-15 -*- # Copyright (c) 2002, 2003, Barry Warsaw, Fred Drake, and contributors # All rights reserved. @@ -378,7 +379,7 @@ def load_change_info(prefix=None): f.close() for entry in mapping.values(): if not hasattr(entry, "new_revision"): - print 'confused about file', entry.name, '-- ignoring' + #print 'confused about file', entry.name, '-- ignoring' del mapping[entry.name] return mapping @@ -396,6 +397,10 @@ def load_branch_name(): def main(): # XXX Should really move all the options to an object, just to # avoid threading so many positional args through everything. + if '- Imported sources NONE NONE' in sys.argv[1:] : + # Cas d'un cvs import + print "Syncmail : import ignorés" + sys.exit(0) try: opts, args = getopt.getopt( sys.argv[1:], 'hC:cuS:R:qf:m:',