# HG changeset patch # User Matt Mackall # Date 2012-03-31 18:46:46 # Node ID 7c76587fb3726e9ac7da5346e828313c6119f1d7 # Parent 740f20e252bd695b072eee6af2b6a714c22665e7 tests: fix portability of sed expression in test-mq diff --git a/tests/test-mq.t b/tests/test-mq.t --- a/tests/test-mq.t +++ b/tests/test-mq.t @@ -519,7 +519,7 @@ cleaning up $ hg qpush --move test.patch # already applied abort: cannot push to a previous patch: test.patch [255] - $ sed -i.bak '2i# make qtip index different in series and fullseries' `hg root`/.hg/patches/series + $ sed -i.bak '2i\# make qtip index different in series and fullseries' `hg root`/.hg/patches/series $ cat `hg root`/.hg/patches/series # comment # make qtip index different in series and fullseries