# HG changeset patch # User Martin Geisler # Date 1241788444 -7200 # Node ID 6fbbb90261b1a3f965559c7cc352b017bf30deba # Parent b24290c72a1dbd663fc70698aeebe2d1d75a9190 mail: updated comment diff -r b24290c72a1d -r 6fbbb90261b1 mercurial/mail.py --- a/mercurial/mail.py Mon May 11 13:03:34 2009 +0300 +++ b/mercurial/mail.py Fri May 08 15:14:04 2009 +0200 @@ -119,7 +119,7 @@ charsets = [cs.lower() for cs in ui.configlist('email', 'charsets')] fallbacks = [encoding.fallbackencoding.lower(), encoding.encoding.lower(), 'utf-8'] - for cs in fallbacks: # util.unique does not keep order + for cs in fallbacks: # find unique charsets while keeping order if cs not in charsets: charsets.append(cs) return [cs for cs in charsets if not cs.endswith('ascii')]