SVN Repository Search

John picture John · Oct 31, 2008 · Viewed 131k times · Source

Is there any good software that will allow me to search through my SVN respository for code snippets? I found 'FishEye' but the cost is 1,200 and well outside my budget.

Answer

phil_w picture phil_w · Jun 17, 2010

If you're searching only for the filename, use:

svn list -R file:///subversion/repository | grep filename

Windows:

svn list -R file:///subversion/repository | findstr filename

Otherwise checkout and do filesystem search:

egrep -r _code_ .