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

Re: Searching entire repository for a file (fastsvncrawler)

From: Kenneth Porter <shiva_at_sewingwitch.com>
Date: Thu, 23 Jul 2020 08:05:12 -0700

--On Thursday, July 23, 2020 12:54 PM +0200 Stefan Sperling <stsp_at_elego.de>
wrote:

> Are you aware of the built-in svn list --search feature, which has
> been available since SVN 1.10.0?
>
> For example:
>
> $ svn list --depth=infinity --search svn.c ^/subversion/trunk
> subversion/svn/svn.c
> $
>
> Also as of SVN 1.10 the server supports a special-purpose 'list' request
> to speed this up.
>
> In any case, the fastest way to search will likely be with a file:// URL,
> assuming you can get direct access to the repository for this purpose.

I was not. Very nice, particularly the pattern matching. Can I determine
the server version remotely to see if this is supported? (Alas, I don't
have direct access.) Is the globbing done on the server with the 1.10
support? That would make it as fast as direct access.
Received on 2020-07-23 17:06:49 CEST

This is an archived mail posted to the Subversion Users mailing list.