[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: David James <djames_at_collab.net>
Date: 2006-05-17 21:00:53 CEST

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.

svn log --limit -1 (for any negative number) should report a syntax error.

Cheers,

David

-- 
David James -- http://www.cs.toronto.edu/~james
---------------------------------------------------------------------
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:02:24 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.