utapyngo
utapyngo

Reputation: 7146

Mercurial repo search

Is there a command that searches a specified string over a Mercurial repository and displays revisions where it is found?

If not, are there any examples of how to implement it?

Upvotes: 7

Views: 798

Answers (1)

ataylor
ataylor

Reputation: 66069

hg grep <string> will search your entire repository history for string.

Upvotes: 14

Related Questions