##// END OF EJS Templates
test-keyword: use regular expressions instead of grepping
Nicolas Dumazet -
r12102:9aba4ceb default
parent child Browse files
Show More
@@ -331,9 +331,10 b' Cat modified file a'
331
331
332 Diff remaining chunk
332 Diff remaining chunk
333
333
334 $ hg diff | grep -v 'b/a'
334 $ hg diff
335 diff -r d17e03c92c97 a
335 diff -r d17e03c92c97 a
336 --- a/a Wed Dec 31 23:59:51 1969 -0000
336 --- a/a Wed Dec 31 23:59:51 1969 -0000
337 \+\+\+ b/a .*
337 @@ -2,3 +2,4 @@
338 @@ -2,3 +2,4 @@
338 foo
339 foo
339 do not process $Id:
340 do not process $Id:
@@ -474,9 +475,10 b' Test different options of hg kwfiles'
474
475
475 Diff specific revision
476 Diff specific revision
476
477
477 $ hg diff --rev 1 | grep -v 'b/c'
478 $ hg diff --rev 1
478 diff -r ef63ca68695b c
479 diff -r ef63ca68695b c
479 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
480 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
481 \+\+\+ b/c .*
480 @@ -0,0 +1,3 @@
482 @@ -0,0 +1,3 @@
481 +expand $Id$
483 +expand $Id$
482 +do not process $Id:
484 +do not process $Id:
General Comments 0
You need to be logged in to leave comments. Login now