# HG changeset patch # User Nicolas Dumazet # Date 1283141730 -32400 # Node ID 9aba4ceb654d8e084802557009423073b2048102 # Parent 0096f21c01dcc72ac3e1a1e8ce3b5872c6a11dcf test-keyword: use regular expressions instead of grepping diff -r 0096f21c01dc -r 9aba4ceb654d tests/test-keyword.t --- a/tests/test-keyword.t Mon Aug 30 13:11:32 2010 +0900 +++ b/tests/test-keyword.t Mon Aug 30 13:15:30 2010 +0900 @@ -331,9 +331,10 @@ Diff remaining chunk - $ hg diff | grep -v 'b/a' + $ hg diff diff -r d17e03c92c97 a --- a/a Wed Dec 31 23:59:51 1969 -0000 + \+\+\+ b/a .* @@ -2,3 +2,4 @@ foo do not process $Id: @@ -474,9 +475,10 @@ Diff specific revision - $ hg diff --rev 1 | grep -v 'b/c' + $ hg diff --rev 1 diff -r ef63ca68695b c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 + \+\+\+ b/c .* @@ -0,0 +1,3 @@ +expand $Id$ +do not process $Id: