Click on the Repo URL on left pane. On the right hand pane select your BLANK project and your desired project - say trunk. Enter your file name or other string in the search filter.
The Subversion Repository browser enables you to add or discard repository locations, view the history of files and folders, check out files and folders, navigate to the source code, browse changes, create branches or tags, and so on.
Examples. You can see the log messages for all the paths that changed in your working copy by running svn log from the top: $ svn log ------------------------------------------------------------------------ r20 | harry | 2003-01-17 22:56:19 -0600 (Fri, 17 Jan 2003) | 1 line Tweak.
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_ .
There is sourceforge.net/projects/svn-search.
There is also a Windows application directly from the SVN home called SvnQuery available at http://svnquery.tigris.org
VisualSVN Server 4.2 supports finding files and folders in the web interface. Try out the new feature on one of the demo server’s repositories!
See the version 4.2 Release Notes, and download VisualSVN Server 4.2.0 from the main download page.
Old answer
Beginning with Subversion 1.8, you can use --search
option with svn log
command. Note that the command does not perform full-text search inside a repository, it considers the following data only:
svn:author
unversioned property),svn:date
unversioned property),svn:log
unversioned property),Here is the help page about these new search options:
If the --search option is used, log messages are displayed only if the
provided search pattern matches any of the author, date, log message
text (unless --quiet is used), or, if the --verbose option is also
provided, a changed path.
The search pattern may include "glob syntax" wildcards:
? matches any single character
* matches a sequence of arbitrary characters
[abc] matches any of the characters listed inside the brackets
If multiple --search options are provided, a log message is shown if
it matches any of the provided search patterns. If the --search-and
option is used, that option's argument is combined with the pattern
from the previous --search or --search-and option, and a log message
is shown only if it matches the combined search pattern.
If --limit is used in combination with --search, --limit restricts the
number of log messages searched, rather than restricting the output
to a particular number of matching log messages.
We use http://opensolaris.org/os/project/opengrok/
git-svn
mirror of that repository.git log -S'my line of code'
or the same in gitk
The advantage is that you can do many searches locally, without loading the server and network connection.
This example pipes the complete contents of the repository to a file, which you can then quickly search for filenames within an editor:
svn list -R svn://svn > filelist.txt
This is useful if the repository is relatively static and you want to do rapid searches without having to repeatedly load everything from the SVN server.
I do like TRAC - this plugin might be helpful for your task: http://trac-hacks.org/wiki/RepoSearchPlugin
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With