Fix sed expression in test-notify to be more portable.
authorThomas Arendsen Hein <thomas@intevation.de>
Wed, 07 Mar 2007 15:06:32 +0100
changeset 4157 bfeff6dcac7a
parent 4156 30857b5779f8
child 4158 d8515e374204
child 4167 4574a8cb080f
Fix sed expression in test-notify to be more portable.
tests/test-notify
--- a/tests/test-notify	Tue Mar 06 12:52:07 2007 +0100
+++ b/tests/test-notify	Wed Mar 07 15:06:32 2007 +0100
@@ -33,7 +33,7 @@
 
 echo '% pull (minimal config)'
 hg --traceback --cwd b pull ../a 2>&1 | sed -e 's/\(Message-Id:\).*/\1/' \
-  -e 's/changeset \([0-9a-f]* \)*in .*test-notif/changeset \1in test-notif/' \
+  -e 's/changeset \([0-9a-f]* *\)in .*test-notif/changeset \1in test-notif/' \
   -e 's/^details: .*test-notify/details: test-notify/'
 
 cat <<EOF >> $HGRCPATH