Is there a command that looks for the specified string in the Mercurial repository and displays the versions where it is found?
If not, are there any examples of its implementation?
hg grep <string> will search the entire history of your repository for string .
hg grep <string>
string