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

Re: svnlook using HEAD

From: Ben Reser <ben_at_reser.org>
Date: 2004-06-30 19:19:59 CEST

On Wed, Jun 30, 2004 at 10:10:16AM -0700, Ben Reser wrote:
> Passing anything other than a valid positive integer results in us
> looking in revision 0, because this command is using strol() to convert
> the command line arg to a revision number. strol() returns 0 when the
> string passed into it is not a number.
> I'm working on fixing this right now. It'll give a better error
> message, but still won't support HEAD.

The above is true about 1.0.x. It's already fixed on trunk:
$ ./svnlook -rHEAD /home/breser/svn-test-foobar/
subversion/svnlook/main.c:1858: (apr_err=205000)
svn: Invalid revision number supplied

Ben Reser <ben@reser.org>
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 30 19:21:54 2004

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