tests/test-keyword
changeset 333 c1521ff40eda
parent 325 1dc0abff8ac3
child 336 46f5cf3e1a7f
child 337 67b4decdee67
--- 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