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

Re: Log message truncated on blank line by design?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-07-26 19:24:41 CEST

Norbert Unterberg wrote:
> Hi,
>
> when displaying the log messages in the log viewer, the revision list
> on the top displays the log messges only up to the first blank line,
> Is this by design?

Yes, this is by design.

> We have coupled SVN with Trac, so our log message have some WIki
> formating style. This means we need a blank line for a line break.
> Since TortoiseSVN stops displaying the commit message after the blank
> line the log window looks strange, like:
>
> Revision ... Message
> 9 Bugfix:
> 8 Bugfix:
> 7 Bugfix:
> 6 Bugfix:
>
> Where the log messages themselves are like this:
>
> Bugfix:
>
> * done this
> * done that ...
>
> See the point? Would it be possible to display more of the log
> message, would this have other unwanted side effects?

The log message is cut off at the first newline because the column can't
hold unlimited chars (around 160 chars, less on Win2k).

As of revision 10244, I changed it so that the newline only cuts the
message of if it is at least 15 chars long. Otherwise the whole log
message is used (cut off at the column limit of course).

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Jul 26 19:23:27 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.