Merge lp:~benoit.pierre/sloecode/branch-log-line-breaks into lp:sloecode

Proposed by Benoit Pierre
Status: Merged
Merge reported by: Thomi Richards
Merged at revision: not available
Proposed branch: lp:~benoit.pierre/sloecode/branch-log-line-breaks
Merge into: lp:sloecode
Diff against target: 12 lines (+1/-1)
1 file modified
sloecode/bzr/display.py (+1/-1)
To merge this branch: bzr merge lp:~benoit.pierre/sloecode/branch-log-line-breaks
Reviewer Review Type Date Requested Status
Thomi Richards Pending
Review via email: mp+80393@code.launchpad.net

Description of the change

Fix branch log display of \n in commit messages.

To post a comment you must log in.
Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote :

Great work - thanks for your help!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'sloecode/bzr/display.py'
2--- sloecode/bzr/display.py 2011-08-15 00:56:40 +0000
3+++ sloecode/bzr/display.py 2011-10-25 21:06:34 +0000
4@@ -139,7 +139,7 @@
5 revno,
6 dt,
7 html_escape(", ".join(authors)),
8- html_escape(message))))
9+ html_escape(message).replace('\n', '<br/>'))))
10 self._line_no += 1
11
12 def begin_log(self):

Subscribers

People subscribed via source and target branches