Fernando Cremer recently crafted a .NET utility in C# that you can use to search for text strings in Surround SCM databases. Search results are displayed in sscm:// format, giving you the ability to automatically select the file in your Surround SCM client and then view its file history, check it out, view it, etc. It’s available in Seapine Labs and full source code is included. Check it out.

Share on Technorati . del.icio.us . Digg . Reddit . Slashdot . Facebook . StumbleUpon

Related posts:

  1. How do I know what’s changed inside the files associated with a list of issues?
  2. File Sharing Strategy
  3. Generate Test Runs Based on SCC File Changes
  4. E-mail File for Review
  5. Surround SCM Web Part
2 Comments

Tags: ,

2 Comments to Searching file contents in Surround SCM

Mark
May 21, 2009

‘A common request is to add a feature to Surround SCM that allows the user to search file contents.’

We asked for this years ago and it has never been implemented. This .NET C# solution is basically a CLI bodge (it ‘get’s all of the files to disk before it then searches through them!).

When are you going to actually implement a proper solution to this ‘common request’ as part of the main Surround SCM product? It’s a well overdue feature.

rick
May 21, 2009

Ah yes, the VSS “Find in Files” command. We are aware of the desire for this feature and agree it is overdue. We’re still noodling a way to do this so it’s as fast as you would expect a server-side search to be. Our move to RDBMS-based data storage in Surround SCM 2009 should help.

One faster workaround, if you only need to search the latest versions of files, is to create a shadow folder for your repository. Surround will keep the shadow folder updated with the latest versions of files in realtime. You can then search the files in the shadow folder without first performing a get.

Leave a comment

WP_Big_City

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy this password:

* Type or paste password here:

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam Protection by WP-SpamFree

Page optimized by WP Minify WordPress Plugin