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

C. Michael Pilato cmpilato at collab.net
Tue Aug 14 21:21:35 CDT 2007


Vincent Lefevre wrote:
> 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 probably doesn't.  The book probably has a hand-tweaked example that was
hand-tweaked wrongly.  :-)

[Cc:ing svnbook-dev at red-bean.com.]

-- 
C. Michael Pilato <cmpilato at collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand




More information about the svnbook-dev mailing list