Edgewall Software

Ticket #1181 (closed defect: fixed)

Opened 4 years ago

Last modified 23 months ago

multiline log messages

Reported by: dieter.verfaillie@… Owned by: cboos
Priority: normal Milestone: 0.9
Component: general Version: 0.8
Severity: normal Keywords: multiline log message
Cc:

Description

Multiline log messages are not being displayed properly in the timeline view and changeset view. In the timeline view all is displayed as one long string (could be normal, to keep the overview small?) In the changeset view, sometimes the newline is shown as [ [ BR ] ] (without the spaces), sometimes it works as expected.

Environment: I'm working from unix like systems with rapidsvn 0.7.0, trac 0.8, subversion 1.1.1, apache 2.0.52

Attachments

Screenshot.jpg (15.9 KB) - added by dieter.verfaillie@… 4 years ago.
screenshot of changeset view

Change History

Changed 4 years ago by dieter.verfaillie@…

screenshot of changeset view

Changed 4 years ago by cboos

I experienced a similar problem (see [1535] and the initial problem report wrongly done in #48).

But I recently tried to do a few commits with the same message, using different methods (svn ci -m, svn ci -F <file> with LF and CRLF line endings, TortoiseSVN) and viewed the resulting changesets with a Trac running on the trunk: the problem seems to be gone.

The systematic escaping of newlines by [[BR]] was done in [776], in order to fix #352.

This solution introduces other side-effects: see #1206 for example

Changed 4 years ago by cboos

  • owner changed from jonas to cboos
  • status changed from new to assigned

Ok, I understand the issue now: The problem disappeared because I was using Trac on Windows, and [r776-present] does the escaping that way: text.replace(os.linesep, '[[BR]]' + os.linesep)

On Windows, the linesep is CRLF, but the message as provided by subversion is using LF as line separator...

Therefore the problems (but also the #352 feature) are not occuring on Windows... Conversely, #352 works when Trac is running on UNIX, at the expense of the problems described here and in #1206.

Changed 4 years ago by cboos

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in [1561]

Changed 23 months ago by cboos

  • milestone set to 0.9

Add/Change #1181 (multiline log messages)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cboos. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.