[Gllug] Subversion Repository Searcher

Richard Turner richard at zygous.co.uk
Fri Dec 1 11:16:25 UTC 2006


On Fri, 2006-12-01 at 08:45 +0000, Steve Nelson wrote:
> Hello,
> 
> I've been asked to write a tool that will search documents in a
> subversion repository by keyword and return the document names which
> match.
> 
> Is there some kind of plug-in that would do this?  Or will I have to
> write this myself?  The documents are word documents, but I already
> have code that will do regex matching on word documents.
> 
> One question concerns how to address the repository.  I don't want to
> have to check out the documents and then search them, or run a
> parallel database - but I am not sure how programatically to search
> objects inside a repository.

To return the names of files a repository:

svn ls -R (svn:|http:)//repository_url/path_to_list

Try 'svn help ls'.

Cheers,

Richard.


-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list