Re: Seeking a way to do a full text search in a repository
From: Johnathan Gifford <jgifford_at_wernervas.com>
Date: Wed, 06 Feb 2008 11:52:49 -0600
This is a feature that MS-Visual Source Safe has. So if your group is coming from VSS or had experience with VSS in the past, that is why they are asking. But with Microsoft phasing out support for Visual Source Safe, many groups are looking for new options as MS-Team Systems is very expensive and not very light weight. So you may be one of the first looking for similar features such as the search capability that VSS has. Keep in mind, Subversion aimed to replace CVS, not VSS. Now that Subversion is in the 1.x releases, that is starting change as features from ClearCase and Perforce are being developed.
Currently, there is no built in option on Subversion to search the files that are in the repository for a certain pattern. There are a couple of tools that could aid though. First being the method mentioned by Andrew Reedick in another response to your post, but this can be ugly and time consuming. Second, I believe there is an enhancement to Trac (trac.edgewall.org) that will allow text searches. However, if you have a rather large repository (10,000+ revisions), it'll never get through the initial indexing process in Trac and there is no way to invoke that process from the command line.
If this is something that you would like to see added to Subversion, please create an issue (as an enhancement) in the Subversion issue tracker. Make sure there is not one already there though! If you need a secondary person vouching for this feature, let me know the issue number, I'll be glad to do so and add additional input. I would not expect this enhancement to come around until version 2.0 or later because the road map for 1.x is pretty well much laid out and this is no light weight enhancement. I do know that a few of the committers to the project are aware of a need for this feature.
Don't let this lack of a feature keep you from going to Subversion or abandoning it. While this feature may be lacking, there are plenty of features that'll make the lives of your developers much better than what they had before.
Hope this helps,
Johnathan
>>> On Wed, Feb 6, 2008 at 10:54 AM, in message
---------------------------------------------------------------------
|
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.