Mercurial > hg
comparison tests/test-grep @ 4877:242026115e6a
hg grep: handle re.compile errors & update tests/test-grep
author | Giorgos Keramidas <keramida@ceid.upatras.gr> |
---|---|
date | Mon, 09 Jul 2007 17:41:14 +0300 |
parents | cb66641cdee3 |
children | ee702e7f181f |
comparison
equal
deleted
inserted
replaced
4836:0e2d0a78f81a | 4877:242026115e6a |
---|---|
15 echo 'import/export' >> port | 15 echo 'import/export' >> port |
16 hg commit -m 3 -u eggs -d '3 0' | 16 hg commit -m 3 -u eggs -d '3 0' |
17 head -n 3 port > port1 | 17 head -n 3 port > port1 |
18 mv port1 port | 18 mv port1 port |
19 hg commit -m 4 -u spam -d '4 0' | 19 hg commit -m 4 -u spam -d '4 0' |
20 echo % pattern error | |
21 hg grep '**test**' | |
20 echo % simple | 22 echo % simple |
21 hg grep port port | 23 hg grep port port |
22 echo % all | 24 echo % all |
23 hg grep --all -nu port port | 25 hg grep --all -nu port port |
24 echo % other | 26 echo % other |