Mercurial > public > mercurial-scm > hg
diff tests/test-grep @ 2870:8eaaf1321bfe
grep: add --follow support.
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Sat, 12 Aug 2006 15:01:46 -0700 |
parents | 81f351c5264d |
children | 3d3007064a17 |
line wrap: on
line diff
--- a/tests/test-grep Sat Aug 12 13:51:14 2006 -0700 +++ b/tests/test-grep Sat Aug 12 15:01:46 2006 -0700 @@ -20,3 +20,11 @@ hg grep port port hg grep --all -nu port port hg grep import port + +hg cp port port2 +hg commit -m 4 -u spam -d '5 0' +echo '% follow' +hg grep -f 'import$' port2 +echo deport >> port2 +hg commit -m 5 -u eggs -d '6 0' +hg grep -f --all -nu port port2