# HG changeset patch # User Will Maier # Date 2008-01-09 16:00:18 # Node ID 59fba5caa94ba53f0cf6e4c3ec5d3238a882b492 # Parent 1cf99a3e269ee6780c787ecbe07bd77ce57df308 Don't use the -i option with sed This patch fixes test-keyword on platforms without GNU sed (like OpenBSD). diff --git a/tests/test-keyword b/tests/test-keyword --- a/tests/test-keyword +++ b/tests/test-keyword @@ -173,8 +173,8 @@ echo % incoming # 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 ' echo % export