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

Re: [TSVN] Search repo file contents for string?

From: Simon Large <slarge_at_slarge.plus.com>
Date: 2005-05-17 18:00:00 CEST

Peter Mounce wrote:
> I find myself wanting to search for a specific bit of code that I
> wrote some time ago and then decided I didn't need, and now want to
> revisit to see if it can be adapted to a slightly different purpose.
> I've lost the bookmark to the webpage where I originally read about
> it, or didn't save it in the first place.
>
> Is it possible to do a repo-wide search for specific strings occurring
> within versioned files and/or properties?

svnadmin dump /path/to/repos | grep "where, oh where has my code gone?"

AFAIK there is no subversion API available that could be used to search
a repository.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue May 17 17:59:20 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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