[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SVN Search Feature?

From: Ryan Schmidt <subversion-2009d_at_ryandesign.com>
Date: Fri, 20 Nov 2009 17:03:31 -0600

On Nov 20, 2009, at 11:19, Ron Olson wrote:

> I've been googling around to find out how to search a repository, and
> it seems that there are a fair number of people who have taken it upon
> themselves to write one, but commercially and not.
>
> I'm sort of surprised...until I suddenly needed to find something, it
> hadn't even occurred to me that search wasn't built in. Am I missing
> something, or is it really only a 3rd-party-option to be able to find
> a string within a repository? I can appreciate that it would be
> involved to search binary files (if at all), but any file marked as
> text should be easily accessible.
>
> If svn doesn't provide it out of the box, is there some thought to do
> so? If not, does anyone have any recommendations about a good "search"
> engine for subversion? Preferably it would be able to search in
> multiple versions of a file.

Subversion has no built-in search feature. I do not know if there are plans to add one; you can search the issue tracker or the list archives. You can check out a working copy and then use any local utility to search in it. Or if you don't know what revision it's in, then you'll need something more advanced. I believe some of the web-based repository viewers may have search features. If so, they would have probably been implemented with a post-commit hook which would write the contents of the revision into another database (SQL?) which could then later be searched.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2422606

Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-11-21 00:04:28 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.