Mercurial > hg
comparison tests/test-patchbomb @ 9715:f0e99a2eac76
patchbomb: fix handling of email addresses with Unicode domains (IDNA)
dom.encode('idna') requires dom to be a Unicode string.
author | Marti Raudsepp <marti@juffo.org> |
---|---|
date | Thu, 05 Nov 2009 10:49:28 +0100 |
parents | d051db8e9e44 |
children | 732fc0e9d411 |
comparison
equal
deleted
inserted
replaced
9714:2f1ab7f77ddc | 9715:f0e99a2eac76 |
---|---|
168 -c bar -s test -r 2 | fixheaders | 168 -c bar -s test -r 2 | fixheaders |
169 | 169 |
170 echo "% test multiple flags for multiple patches" | 170 echo "% test multiple flags for multiple patches" |
171 hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \ | 171 hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \ |
172 -c bar -s test -r 0:1 | fixheaders | 172 -c bar -s test -r 0:1 | fixheaders |
173 | |
174 echo "% test multi-byte domain parsing" | |
175 UUML=`echo -en '\xfc'` | |
176 export HGENCODING=iso-8859-1 | |
177 hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t "bar@${UUML}nicode.com" \ | |
178 -s test -r 0 | |
179 cat tmp.mbox | fixheaders |