[PATCH] test-notify: adapt to sed shipped with MacOS
Christian Ebert
blacktrash at gmx.net
Sat Feb 17 08:56:46 UTC 2007
# HG changeset patch
# User Christian Ebert <blacktrash at gmx.net>
# Date 1171702484 -3600
# Node ID bf2c064597be0d0e6a98e0683569e213d6d91c12
# Parent e2ed92f4c0f759fe2a2803853bfcb92f135d85c5
test-notify: adapt to sed shipped with MacOS
MacOS X' sed does not have the \? repetition operator.
diff -r e2ed92f4c0f7 -r bf2c064597be tests/test-notify
--- a/tests/test-notify Sat Feb 17 04:50:06 2007 -0200
+++ b/tests/test-notify Sat Feb 17 09:54:44 2007 +0100
@@ -33,7 +33,7 @@ hg --traceback --cwd a commit -Amb -d '1
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
More information about the Mercurial-devel
mailing list