notify: mime-encode messages
- addresses will be properly encoded
- message bodies will also be encoded as we are not sending
patches that are meant to be applied
- update test output
- adapt test-keyword to ignore the new headers
[ original upstream description ]
--- a/tests/test-keyword Wed Nov 26 09:35:38 2008 +0100
+++ b/tests/test-keyword Sat Jul 12 19:12:18 2008 +0100
@@ -104,7 +104,7 @@
EOF
echo % pull from bundle
-hg pull -u ../kw.hg 2>&1 | sed -e '/^Date:/,/^diffs (/ d'
+hg pull -u ../kw.hg 2>&1 | sed -e '/^Content-Type:/,/^diffs (/ d'
echo % remove notify config
sed -e '/\[hooks\]/,$ d' $HGRCPATH > $HGRCPATH.nonotify