comparison tests/test-grep @ 9367:1ef630452e0b

cmdutil: use context objects for walkchangerevs()
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Thu, 20 Aug 2009 08:34:22 +0200
parents aa78a0583731
children 717c35d55fb3
comparison
equal deleted inserted replaced
9366:9ff178e7b627 9367:1ef630452e0b
20 echo % pattern error 20 echo % pattern error
21 hg grep '**test**' 21 hg grep '**test**'
22 echo % simple 22 echo % simple
23 hg grep port port 23 hg grep port port
24 echo % all 24 echo % all
25 hg grep --all -nu port port 25 hg grep --traceback --all -nu port port
26 echo % other 26 echo % other
27 hg grep import port 27 hg grep import port
28 28
29 hg cp port port2 29 hg cp port port2
30 hg commit -m 4 -u spam -d '5 0' 30 hg commit -m 4 -u spam -d '5 0'
31 echo '% follow' 31 echo % follow
32 hg grep -f 'import$' port2 32 hg grep --traceback -f 'import$' port2
33 echo deport >> port2 33 echo deport >> port2
34 hg commit -m 5 -u eggs -d '6 0' 34 hg commit -m 5 -u eggs -d '6 0'
35 hg grep -f --all -nu port port2 35 hg grep -f --all -nu port port2
36 36
37 cd .. 37 cd ..