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

Re: svn commit: r1806548 - in /subversion/trunk/subversion: svn/svn.c svnbench/svnbench.c tests/cmdline/basic_tests.py

From: Evgeny Kotkov <evgeny.kotkov_at_visualsvn.com>
Date: Tue, 29 Aug 2017 13:32:40 +0300

Bert Huijben <bert_at_qqmail.nl> writes:

>> As Julian discovered, '--search' as used with 'svn log' is may not suitable
>> for 'svn ls'. File name matching should be case-sensitive and requires
>> full patterns just like e.g. the ordinary unix command line 'ls' command.
>> Therefore, introduce a separate '--pattern' option for 'svn log' that works
>> similar to patterns with Unix command line 'ls'. Since the actual matching
>> already confirms to that, we only need a different option pre-processing.
> Perhaps we could use --glob, to allow other syntax patterns later?
> Not sure... perhaps --glob is too technical.

My 2 cents on this would be that having "svn ls --pattern" and "svn log
--search" which only differ in terms of case sensitivity have a chance of
being confusing for the users.

Perhaps, a slightly better way would be to keep the case-insensitive behavior
by default, but add a "--case-sensitive" switch to handle the cases where
it's required?

That is,

    svn ls --search

    svn ls --search --case-sensitive

Evgeny Kotkov
Received on 2017-08-29 12:33:11 CEST

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