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

svn log - combining 'search' and 'limit'

From: Daniel Becroft <djcbecroft_at_gmail.com>
Date: Wed, 28 Jun 2017 07:40:32 +0000

I've come across something which seems to be working not as expected, but
I'm not sure it is a bug.
At the moment, I can do `svn log --search "Foo"` to get all the log
messages containing "Foo", and `svn log --limit 10` to get the last 10 log

I expected that if I combined these (for example, `svn log --search "Foo"
--limit 10`), that I would get the last 10 log messages that contained the
search criteria, however it only showed those log messages in the last 10
that contained "Foo". If the latest log message that contained "Foo" was
number 11, nothing would be displayed.

Real-world example, using:
>svn log https://svn.apache.org/repos/asf/subversion/trunk --search "SEGV"
--limit 1
I would expect to see r1798157, however I don't see anything (as the
revision returned from --limit 1 is not it).

Daniel B.
Received on 2017-06-28 09:40:57 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.