How do I search historic mercurial file content?

Stephen picture Stephen · Dec 1, 2011 · Viewed 7.8k times · Source

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...

Answer

Chris Morgan picture Chris Morgan · Dec 1, 2011

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.