# HG changeset patch # User Nicolas Dumazet # Date 2010-08-30 04:41:03 # Node ID a57e0762c5ecd75a6a7dfbcd39a385d7e413787e # Parent 497c78760b37ac6a0303dd2bba9d6fa2fe31e219 tests: mq-safety: use regular expression instead of sed diff --git a/tests/test-mq-safety.t b/tests/test-mq-safety.t --- a/tests/test-mq-safety.t +++ b/tests/test-mq-safety.t @@ -36,8 +36,8 @@ qpop/qrefresh on the wrong revision $ hg qpop abort: popping would remove a revision not managed by this patch queue - $ hg qpop -n patches 2>&1 | sed -e 's/\(using patch queue:\).*/\1/' - using patch queue: + $ hg qpop -n patches + using patch queue: .*/repo/.hg/patches abort: popping would remove a revision not managed by this patch queue $ hg qrefresh abort: working directory revision is not qtip