Remove some options from 'hg grep':
-Z (we have -0 as in locate)
-a (use "-r 0:tip" instead, or always grep all unless -r is given)
-e (we have the PATTERN argument)
-v (doesn't work, and this is more of a job for 'hg cat|grep')
-s (we have -q/--quiet)
-f (should be always enabled if -l used, or enable on -v/--verbose)
\.elc$
\.orig$
\.rej$
~$
\.so$
\.pyc$
\.swp$
\.prof$
^tests/.*\.err$
^build/
^dist/
^doc/.*\.[0-9](\.(x|ht)ml)?$
^MANIFEST$
^\.pc/
^patches/
^mercurial/__version__.py$