Reputation: 26392
Is there any way to search the full text of all the revisions (or just a specific revision) of a subversion repository?
I mean I know that tools like Google Code search must do this somehow (or at least index the text), I was just wondering if there was any way to do this with just a subversion client.
Upvotes: 4
Views: 5853
Reputation: 30014
Might be a little heavyweight setup-wise, but OpenGrok is an invaluable tool for my dev team. We trigger updates by Hudson after every build and we instantly search 1M+ lines
Upvotes: 2
Reputation: 40675
Have you tried SupoSE. This is a Java based approach to do real searching within a complete Subversion repository.
Or check the whole list of Subversion Links/Books/Tools.
Upvotes: 0
Reputation: 284786
Nothing magic is required. Just check out the repo, then do grep -r (or however you normally search files). If you want to search an old version of the repo, do:
svn export -r revID /path/to/checkout /export/to
then search /export/to. Of course, there may be more optimal ways, but this is probably good enough for your purposes.
Upvotes: 1