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

Re: Combining svn log 'search' and 'limit'

From: Branko Čibej <brane_at_apache.org>
Date: Mon, 6 Nov 2017 12:08:12 +0100

On 06.11.2017 10:38, Dmitrijs Reinmanis wrote:
> Hello!
> I want to make simple tool, for viewing svn log results and without
> search everything works well. Now I want to implement search, and I
> have some problems with search and limit combination. Without limit
> search works well, but with limit result is totally unpredictable. For
> example, if I enter "limit 30", it may return 28 records for revision
> "121:1" and 7 records for revision "86:1".
> Why it is working so strange and what you can suggest, to make correct
> pagination for svn log and search combination?

The --search option filters within --limit results, not the other way
around. Specifically, if you set --limit to 30, you'll get 30 results;
then --search will return only the results that match from within those 30.

If I recall correctly, --search is completely client-side (but I may be
wrong ... I haven't checked that code recently).

-- Brane
Received on 2017-11-06 12:08:18 CET

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