Mercurial > hg
changeset 5839:59fba5caa94b
Don't use the -i option with sed
This patch fixes test-keyword on platforms without GNU sed (like
OpenBSD).
author | Will Maier <willmaier@ml1.net> |
---|---|
date | Wed, 09 Jan 2008 10:00:18 -0600 |
parents | 1cf99a3e269e |
children | c67dfc4ecba6 |
files | tests/test-keyword |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-keyword Wed Jan 09 00:27:33 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