Don't use the -i option with sed
This patch fixes test-keyword on platforms without GNU sed (like
OpenBSD).
--- a/tests/test-keyword Wed Jan 09 11:07:42 2008 +0100
+++ b/tests/test-keyword Wed Jan 09 10:00:18 2008 -0600
@@ -173,8 +173,8 @@
# remove path to temp dir
hg incoming | sed -e 's/^\(comparing with \).*\(test-keyword.*\)/\1\2/'
-sed -i.bak -e 's/Id.*/& rejecttest/' a
-rm a.bak
+sed -e 's/Id.*/& rejecttest/' a > a.new
+mv a.new a
echo % commit rejecttest
hg --debug commit -m'rejects?' -d '3 0' -u 'User Name <user@example.com>'
echo % export