subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kenneth Porter <sh...@sewingwitch.com>
Subject Re: Searching entire repository for a file (fastsvncrawler)
Date Thu, 23 Jul 2020 15:05:12 GMT
--On Thursday, July 23, 2020 12:54 PM +0200 Stefan Sperling <stsp@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.


Mime
View raw message