[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: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2006-05-17 21:08:24 CEST

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 17 21:09:07 2006

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

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