# HG changeset patch # User Matt Mackall # Date 1333219606 18000 # Node ID 7c76587fb3726e9ac7da5346e828313c6119f1d7 # Parent 740f20e252bd695b072eee6af2b6a714c22665e7 tests: fix portability of sed expression in test-mq diff -r 740f20e252bd -r 7c76587fb372 tests/test-mq.t --- a/tests/test-mq.t Thu Mar 29 22:16:56 2012 +0900 +++ b/tests/test-mq.t Sat Mar 31 13:46:46 2012 -0500 @@ -519,7 +519,7 @@ $ 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