You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Vincent Lefevre <vi...@vinc17.org> on 2007/09/13 13:30:29 UTC

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

Any news? It seems that nothing has changed in r2877.

BTW, the book should be very clear on whether a newline is added
after the log message or not. This is important for hook scripts.

On 2007-08-14 22:21:35 -0400, C. Michael Pilato wrote:
> 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@red-bean.com.]

-- 
Vincent Lefèvre <vi...@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

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

Posted by "C. Michael Pilato" <cm...@red-bean.com>.
Vincent Lefevre wrote:
> Any news? It seems that nothing has changed in r2877.
> 
> BTW, the book should be very clear on whether a newline is added
> after the log message or not. This is important for hook scripts.

Fixed in r2878.  Thanks, Vincent.

-- 
C. Michael Pilato <cm...@red-bean.com>

"The Christian ideal has not been tried and found wanting.  It has
 been found difficult; and left untried."  -- G. K. Chesterton

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org