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

Re: Are there any plans for an svn find command?

From: Robert Zeh <rzeh_at_efs-us.com>
Date: 2004-07-09 17:25:55 CEST

Klaus Rennecke wrote:

> Robert Zeh wrote:
>
>> Are there any plans for a way to do a search for filenames inside of
>> a repository? I like something similar to the unix find command, but
>> for the repository instead.
>>
>
> What about a small script?
>
> tukan:[kre]> cat svnfind
> #! /bin/sh
> target="$1"
> shift
> svn ls -R "$target" | egrep -e "$@"
> tukan:[kre]>
>
> will that do? Over the net it creates some overhead, but if your
> repository is not far that's not a problem.
>
> /Klaus

The script is a good idea. However, until svn ls is streaming, this
script won't work well with my repository. svn ls -R <root> on my
repository never finishes; my machine runs out of swap.

Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 9 17:26:17 2004

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.