with this patch grep searches on the working directory by default
and looks for all files tracked by the working directory and greps on them
OLD BEHAVIOUR
$ hg init a
$ cd a
$ echo "some text">>file1
$ hg add file1
$ hg commit -m "adds file1"
$ hg mv file1 file2
$ hg grep "some"
file2:1:some text
file1:0:some text
This behaviour is undesirable since file1 is not in the current history and was
renamed as file2, so the second result was redundant and confusing
NEW BEHAVIOUR
$ hg init a
$ cd a
$ echo "some text">>file1
$ hg add file1
$ hg commit -m "adds file1"
$ hg mv file1 file2
$ hg grep "some"
file2:2147483647:some text
I think you need to update this line in the help? That is, by default we now search the working directory, and you have to say something else to search history.