Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-grep @ 3951:cb66641cdee3
grep: remove count handling, simplify, fix issue337
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Fri, 22 Dec 2006 22:51:39 +0100 |
parents | 3d3007064a17 |
children | 242026115e6a |
comparison
equal
deleted
inserted
replaced
3950:3d3007064a17 | 3951:cb66641cdee3 |
---|---|
29 echo '% follow' | 29 echo '% follow' |
30 hg grep -f 'import$' port2 | 30 hg grep -f 'import$' port2 |
31 echo deport >> port2 | 31 echo deport >> port2 |
32 hg commit -m 5 -u eggs -d '6 0' | 32 hg commit -m 5 -u eggs -d '6 0' |
33 hg grep -f --all -nu port port2 | 33 hg grep -f --all -nu port port2 |
34 | |
35 cd .. | |
36 hg init t2 | |
37 cd t2 | |
38 hg grep foobar foo | |
39 hg grep foobar | |
40 echo blue >> color | |
41 echo black >> color | |
42 hg add color | |
43 hg ci -m 0 -d '0 0' | |
44 echo orange >> color | |
45 hg ci -m 1 -d '0 0' | |
46 echo black > color | |
47 hg ci -m 2 -d '0 0' | |
48 echo orange >> color | |
49 echo blue >> color | |
50 hg ci -m 3 -d '0 0' | |
51 hg grep orange | |
52 hg grep --all orange |