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

Bug in "svnlook info" / "svnlook log" or its documentation

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: 2007-08-15 01:16:09 CEST

With svnlook, version 1.4.2 (r22196), "svnlook info" and "svnlook log"
add a newline after the log message. However,

  http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.ref.svnlook

just says "log message":

  svnlook info — Print the author, datestamp, log message size, and log
  message.

  svnlook log — Print the log message.

Moreover, the example concerning "svnlook info" is:

$ svnlook info -r 40 /usr/local/svn/repos
sally
2003-02-22 17:44:49 -0600 (Sat, 22 Feb 2003)
15
Rearrange lunch.

The number of characters in "Rearrange lunch.", without taking into
account the possible newline, is 16. So, why does "svnlook info"
output 15 for the log message size? It should be 16 or 17 (here
svnlook takes the additional newline into account, so that it would
probably be 17).

-- 
Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 15 01:14:01 2007

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