Dmitry Pavlenko <pavle...@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

Reply via email to