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

Re: svn log: 1.7 and large limits

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 31 Jul 2012 20:18:13 +0100

Dmitry Pavlenko <pavlenko_at_tmatesoft.com> writes:

> Hi all.
> I've noticed that in SVN 1.7 limit behaviour has changed. Is that expected or is that a bug?

> $ $svn16 log http://localhost:59714/repos -l 10000000000
> ------------------------------------------------------------------------
> r2 | (no author) | 2012-07-11 13:15:58 +0200 (Срд, 11 Июл 2012) | 1 line
>
>
> ------------------------------------------------------------------------
> r1 | (no author) | 2012-07-11 13:15:58 +0200 (Срд, 11 Июл 2012) | 1 line
>
>
> ------------------------------------------------------------------------
> $ $svn17 log http://localhost:59714/repos -l 10000000000
> svn: E205000: Non-numeric limit argument given
> svn: E200004: Number '10000000000' is out of range '[-2147483648, 2147483647]'

Internally Subversion always uses a 32-bit value for limit. In 1.6 the
command line parser doesn't detect out-of-range values on the command
and any such values are silently truncated. In 1.7 the command line
parser detects out-of-range values.

-- 
Philip
Received on 2012-07-31 21:18:52 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.