Ne rale plus lors de l'import.
Encodage. N'est plus 'confused' lors des commits. darcs-hash:20050822103125-41617-cbff2a32950eee7bf17b4879f9745640a3e1dfb1.gz
This commit is contained in:
parent
f95e53c74f
commit
ea92e6e6e7
1 changed files with 6 additions and 1 deletions
7
syncmail
7
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:',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue