Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I search historic mercurial file content?

I've found an issue in my code where something used to be specified, but is no longer, so I want to search for a particular string through the history of the repository.

Is there a way to do this in TortoiseHg? I know it would take a while, but it'd take me longer...

like image 920
Stephen Avatar asked Nov 30 '11 23:11

Stephen


1 Answers

If you don't mind working with Mercurial via the command line, there's hg grep. It's probably exposed somewhere in the TortoiseHg Workbench, but I don't know.

like image 105
Chris Morgan Avatar answered Oct 07 '22 18:10

Chris Morgan