changeset 16058:3b9c18ed9985 stable

test-mq: fix sed call on OSX - The regular sed on OSX wants: -i "" not -i"" - GNU sed wants: -i"" not -i "" Backups are fine.
author Patrick Mezard <pmezard@gmail.com>
date Fri, 03 Feb 2012 19:23:13 +0100
parents 0620421044a2
children c36db39b3fee
files tests/test-mq.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-mq.t	Wed Feb 01 14:23:58 2012 -0600
+++ b/tests/test-mq.t	Fri Feb 03 19:23:13 2012 +0100
@@ -1476,7 +1476,7 @@
 
 Test that qfinish preserve phase when mq.secret=false
 
-  $ sed -i'' $HGRCPATH -e 's/secret=true/secret=false/'
+  $ sed -i.bak -e 's/secret=true/secret=false/' $HGRCPATH
   $ hg qfinish qbase
   patch add-file2 finalized without changeset message
   $ hg phase 'all()'