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

Re: 'svn list --search' feature complete?

From: Julian Foad <julianfoad_at_apache.org>
Date: Mon, 21 Aug 2017 14:09:28 +0100

Julian Foad wrote:
> Quickly trying it out, I notice a bug. Matching is, presumably, I hope,
> intended to be case-insensitive, consistent with 'svn log --search'. It
> doesn't work properly: it seems not to match filenames containing
> upper-case characters:
>
> $ svn list | grep -i "^co"
> COMMITTERS
> configure.ac
> contrib/
>
> $ svn list --search 'co*'
> configure.ac
> contrib/
>
> $ svn list --search 'CO*'
> configure.ac
> contrib/

Also the search term seems to be required to match the entire path, so I
need to write "co*" rather than just "co" to match "configure.ac". That
is inconsistent with "svn log --search" which looks for the pattern as a
substring even when matching paths. I think differences such as this are
bad.

- Julian
Received on 2017-08-21 15:09:32 CEST

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