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

Re: "svn log --limit" argument bug

From: John Nicol <nicol.john_at_gmail.com>
Date: 2006-05-17 22:13:34 CEST

Thanks for the feedback! Filed as issue 2552 with the below comments.

John

On 5/17/06, Peter N. Lundblad <peter@famlundblad.se> wrote:
>
> David James writes:
> > On 5/17/06, Garrett Rooney < rooneg@electricjellyfish.net> wrote:
> > > > "svn log --limit 0" and "svn log --limit -5" both seem to do
> something,
> > > > although I haven't seen any output from them.
> > > > I believe both of these should return a syntax error, similar to:
> > > >
> > > > c:\temp> svn log -r -1
> > > > svn: Syntax error in revision argument '-1'
> > >
> > > Makes sense to me. Got a patch?
> >
> > svn log --limit 0 displays all revisions. This makes sense, as "0"
> > means that there is no limit at all.
> >
> Since 0 != infinity, I think this should stay as an internal
> implementation
> detail. :-)
>
> Regards,
> //Peter
>
Received on Wed May 17 22:15:06 2006

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