#1181 closed defect (fixed)
multiline log messages
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | 0.9 |
Component: | general | Version: | 0.8 |
Severity: | normal | Keywords: | multiline log message |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
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 (1)
Change History (5)
by , 20 years ago
Attachment: | Screenshot.jpg added |
---|
comment:1 by , 20 years ago
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
comment:2 by , 20 years ago
Owner: | changed from | to
---|---|
Status: | new → 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.
comment:4 by , 18 years ago
Milestone: | → 0.9 |
---|
screenshot of changeset view